Remove the MemoryManager::setBaseAllocator() method

This commit is contained in:
Daniel Chappuis 2019-12-13 11:20:17 +01:00
parent 24ac9e36c7
commit 581f642280

View File

@ -88,9 +88,6 @@ class MemoryManager {
/// Return the base memory allocator
MemoryAllocator& getBaseAllocator();
/// Set the base memory allocator
void setBaseAllocator(MemoryAllocator* memoryAllocator);
/// Reset the single frame allocator
void resetFrameAllocator();
};
@ -132,11 +129,6 @@ inline MemoryAllocator& MemoryManager::getBaseAllocator() {
return *mBaseAllocator;
}
// Set the base memory allocator
inline void MemoryManager::setBaseAllocator(MemoryAllocator* baseAllocator) {
mBaseAllocator = baseAllocator;
}
// Reset the single frame allocator
inline void MemoryManager::resetFrameAllocator() {
mSingleFrameAllocator.reset();