From 0c7f6e8fb9cc1087a91baf705f402f9ebe8ea09b Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Fri, 6 Dec 2019 19:42:13 -0800 Subject: Fixed release build --- .../GraphicsAccessories/interface/VariableSizeAllocationsManager.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Graphics') 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) -- cgit v1.2.3