Update Ghoul repository

Adapt to Ghoul changes in MemoryPool
This commit is contained in:
Alexander Bock
2020-08-19 16:19:25 +02:00
parent 2621e16ec4
commit 6ac5d536fa
7 changed files with 12 additions and 12 deletions

View File

@@ -35,10 +35,8 @@ public:
ghoul::MemoryPool<8 * 1024 * 1024, false> PersistentMemory;
// This should be replaced with a std::pmr::memory_resource wrapper around our own
// Memory pool. Resetting the monotoic_buffer_resource costs an allocation, that we
// can prevent
std::pmr::monotonic_buffer_resource TemporaryMemory =
std::pmr::monotonic_buffer_resource(100 * 4096);
// Memory pool so that we can get a high-water mark out of it
ghoul::MemoryPool<100 * 4096, false> TemporaryMemory;
};
} // namespace openspace