diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2019-12-07 03:42:13 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2019-12-07 03:42:13 +0000 |
| commit | 0c7f6e8fb9cc1087a91baf705f402f9ebe8ea09b (patch) | |
| tree | 31b9538480c3d6cf20b041a8c52a26908b7bdd63 /Graphics | |
| parent | Fixed appveyor script; added GetTextureFormatAttribs test (diff) | |
| download | DiligentCore-0c7f6e8fb9cc1087a91baf705f402f9ebe8ea09b.tar.gz DiligentCore-0c7f6e8fb9cc1087a91baf705f402f9ebe8ea09b.zip | |
Fixed release build
Diffstat (limited to 'Graphics')
| -rw-r--r-- | Graphics/GraphicsAccessories/interface/VariableSizeAllocationsManager.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Graphics/GraphicsAccessories/interface/VariableSizeAllocationsManager.h b/Graphics/GraphicsAccessories/interface/VariableSizeAllocationsManager.h index 66e89a5c..4c5a6a35 100644 --- a/Graphics/GraphicsAccessories/interface/VariableSizeAllocationsManager.h +++ b/Graphics/GraphicsAccessories/interface/VariableSizeAllocationsManager.h @@ -348,12 +348,10 @@ public: OffsetType GetUsedSize()const{return m_MaxSize - m_FreeSize;} // clang-format on -#ifdef _DEBUG - size_t DbgGetNumFreeBlocks() const + size_t GetNumFreeBlocks() const { return m_FreeBlocksByOffset.size(); } -#endif private: void AddNewBlock(OffsetType Offset, OffsetType Size) |
