mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-10 14:58:10 -05:00
test: add test for KeyValuePairsCompilerT6
This commit is contained in:
14
test/ObjCommonTestUtils/Utils/TestMemoryManager.h
Normal file
14
test/ObjCommonTestUtils/Utils/TestMemoryManager.h
Normal file
@ -0,0 +1,14 @@
|
||||
#pragma once
|
||||
|
||||
#include "Utils/MemoryManager.h"
|
||||
|
||||
#include <cstdlib>
|
||||
|
||||
class TestMemoryManager : public MemoryManager
|
||||
{
|
||||
public:
|
||||
[[nodiscard]] size_t GetAllocationCount() const
|
||||
{
|
||||
return m_allocations.size() + m_destructible.size();
|
||||
}
|
||||
};
|
Reference in New Issue
Block a user