summaryrefslogtreecommitdiff
path: root/src/routine.cpp
diff options
context:
space:
mode:
authorCedric Nugteren <web@cedricnugteren.nl>2016-10-14 20:56:32 +0200
committerCedric Nugteren <web@cedricnugteren.nl>2016-10-14 20:56:32 +0200
commit0f9311d46aa06ecf9fecdd500467e5e58350adfe (patch)
tree49e406abdbec92a106becc27ef691b4b5df522a2 /src/routine.cpp
parent3386ad49c46b4475d2160f109b483bc6833eca77 (diff)
Fixed an issue with a growing database: the database is now a global variable in a namespace and its container uses const-pointers to the actual data
Diffstat (limited to 'src/routine.cpp')
-rw-r--r--src/routine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routine.cpp b/src/routine.cpp
index d938d66f..80764b74 100644
--- a/src/routine.cpp
+++ b/src/routine.cpp
@@ -24,7 +24,7 @@ namespace clblast {
// Constructor: not much here, because no status codes can be returned
Routine::Routine(Queue &queue, EventPointer event, const std::string &name,
const std::vector<std::string> &routines, const Precision precision,
- const std::vector<Database::DatabaseEntry> &userDatabase):
+ const std::vector<const Database::DatabaseEntry*> &userDatabase):
precision_(precision),
routine_name_(name),
queue_(queue),