diff options
author | Cedric Nugteren <web@cedricnugteren.nl> | 2017-09-16 18:34:11 +0200 |
---|---|---|
committer | Cedric Nugteren <web@cedricnugteren.nl> | 2017-09-16 18:34:11 +0200 |
commit | bcf39eb79a8252b9f9b0c31311c7951abc8520ee (patch) | |
tree | 55d795f06769134601f017f50d505a6c8904d398 /src/database/database.cpp | |
parent | 163474e17193268f9f29eebda6b264d1a951b4ee (diff) |
Fixed a compilation error and warning under MacOS
Diffstat (limited to 'src/database/database.cpp')
-rw-r--r-- | src/database/database.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/database/database.cpp b/src/database/database.cpp index 9a2d5c06..4187ffe3 100644 --- a/src/database/database.cpp +++ b/src/database/database.cpp @@ -86,7 +86,7 @@ Database::Database(const Device &device, const std::string &kernel_name, log_debug("Device name '" + device_name + "'; architecture '" + device_architecture + "'"); // Sets the databases to search through - const auto databases = std::list<std::vector<database::DatabaseEntry>>{overlay, database}; + auto databases = std::list<std::vector<database::DatabaseEntry>>{overlay, database}; // Special case: modifies the database if the device is a CPU with Apple OpenCL #if defined(__APPLE__) || defined(__MACOSX) |