diff options
author | Cedric Nugteren <web@cedricnugteren.nl> | 2018-05-01 20:34:48 +0200 |
---|---|---|
committer | Cedric Nugteren <web@cedricnugteren.nl> | 2018-05-01 20:34:48 +0200 |
commit | 8258321a74f5b44a559c91bb0adb1358d22da801 (patch) | |
tree | 153d7f37e6629f0404a0da7b2110b25ea0a7dfdc /src/cache.cpp | |
parent | b2248a17ae24ba72618d80b98196221049cc3933 (diff) |
Now stores a shared_ptr to the Program class in the cache
Diffstat (limited to 'src/cache.cpp')
-rw-r--r-- | src/cache.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cache.cpp b/src/cache.cpp index 4b74b0a1..e15a72a5 100644 --- a/src/cache.cpp +++ b/src/cache.cpp @@ -117,8 +117,8 @@ template std::string BinaryCache::Get(const BinaryKeyRef &, bool *) const; // ================================================================================================= -template class Cache<ProgramKey, Program>; -template Program ProgramCache::Get(const ProgramKeyRef &, bool *) const; +template class Cache<ProgramKey, std::shared_ptr<Program>>; +template std::shared_ptr<Program> ProgramCache::Get(const ProgramKeyRef &, bool *) const; template void ProgramCache::RemoveBySubset<1, 2>(const ProgramKey &); // precision and routine name // ================================================================================================= |