summaryrefslogtreecommitdiff
path: root/src/database/database.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/database/database.cpp')
-rw-r--r--src/database/database.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/database/database.cpp b/src/database/database.cpp
index 2340a89c..cf548d46 100644
--- a/src/database/database.cpp
+++ b/src/database/database.cpp
@@ -11,7 +11,7 @@
//
// =================================================================================================
-#include "utilities.hpp"
+#include "utilities/utilities.hpp"
#include "database/database.hpp"
#include "database/kernels/xaxpy.hpp"
@@ -92,7 +92,7 @@ Database::Database(const Queue &queue, const std::vector<std::string> &kernels,
}
}
- if (!search_result) { throw std::runtime_error("Database error, could not find a suitable entry"); }
+ if (!search_result) { throw RuntimeErrorCode(StatusCode::kDatabaseError); }
}
}