Core/MemoryPool: Fix incorrect inlines

This commit is contained in:
Jérôme Leclercq
2017-01-25 15:53:25 +01:00
parent a18389c48e
commit 28965b799e
2 changed files with 7 additions and 5 deletions

View File

@@ -22,12 +22,14 @@ namespace Nz
~MemoryPool() = default;
void* Allocate(unsigned int size);
template<typename T> void Delete(T* ptr);
void Free(void* ptr);
unsigned int GetBlockSize() const;
unsigned int GetFreeBlocks() const;
unsigned int GetSize() const;
inline unsigned int GetBlockSize() const;
inline unsigned int GetFreeBlocks() const;
inline unsigned int GetSize() const;
template<typename T, typename... Args> T* New(Args&&... args);