mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-06 11:39:49 -06:00
Update Ghoul repository
Adapt to Ghoul changes in MemoryPool
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user