summaryrefslogtreecommitdiff
path: root/src/routine.hpp
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.hpp
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.hpp')
-rw-r--r--src/routine.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routine.hpp b/src/routine.hpp
index f5c607af..8582a2b7 100644
--- a/src/routine.hpp
+++ b/src/routine.hpp
@@ -36,7 +36,7 @@ class Routine {
// built-in database.
explicit 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 = {});
// Set-up phase of the kernel
StatusCode SetUp();