diff options
author | Cedric Nugteren <web@cedricnugteren.nl> | 2017-04-07 07:37:30 +0200 |
---|---|---|
committer | Cedric Nugteren <web@cedricnugteren.nl> | 2017-04-07 07:37:30 +0200 |
commit | fb6c78ea070fbfc7d2d38a3c0d77a8219cef6f04 (patch) | |
tree | 4de82d8b349d7eb5939f60c24f0712979009001f /src/database/database.hpp | |
parent | d28ee082b0844086ee9b9cfb50825427f0b3a48a (diff) |
Added a special override database for the Apple CPU implementation on OS X: this makes the test work, it does not focus on good performance
Diffstat (limited to 'src/database/database.hpp')
-rw-r--r-- | src/database/database.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/database/database.hpp b/src/database/database.hpp index b34e0d8a..e49146c5 100644 --- a/src/database/database.hpp +++ b/src/database/database.hpp @@ -72,6 +72,9 @@ class Database { // The database consists of separate database entries, stored together in a vector static const std::vector<const DatabaseEntry*> database; + // Database for a special case: Apple CPUs support limited number of threads + static const std::vector<const DatabaseEntry*> apple_cpu_fallback; + Database() = default; // The constructor with a user-provided database overlay (potentially an empty vector) |