summaryrefslogtreecommitdiff
path: root/src/routine.hpp
diff options
context:
space:
mode:
authorCedric Nugteren <web@cedricnugteren.nl>2017-04-10 07:40:27 +0200
committerCedric Nugteren <web@cedricnugteren.nl>2017-04-10 07:40:27 +0200
commit2d45c37676d551f53095f7ffa2f178105f5930b2 (patch)
tree35188644456873d969ae67d49d5393f26aa31d03 /src/routine.hpp
parent300531b869ca266c22d4580761872a4ebb6a244b (diff)
Removed const-vector-of-const-objects from the database class to remain according to the C++11 standard
Diffstat (limited to 'src/routine.hpp')
-rw-r--r--src/routine.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/routine.hpp b/src/routine.hpp
index eb11b566..903ccdb1 100644
--- a/src/routine.hpp
+++ b/src/routine.hpp
@@ -40,7 +40,7 @@ class Routine {
// and routine list, otherwise the caching logic will break.
explicit Routine(Queue &queue, EventPointer event, const std::string &name,
const std::vector<std::string> &routines, const Precision precision,
- const std::vector<const Database::DatabaseEntry*> &userDatabase,
+ const std::vector<Database::DatabaseEntry> &userDatabase,
std::initializer_list<const char *> source);
// List of kernel-routine look-ups
@@ -59,7 +59,7 @@ class Routine {
void InitProgram(std::initializer_list<const char *> source);
// Initializes db_, fetching cached database or building one
- void InitDatabase(const std::vector<const Database::DatabaseEntry*> &userDatabase);
+ void InitDatabase(const std::vector<Database::DatabaseEntry> &userDatabase);
protected: