| 2775 | #ifndef _D3D12MA_ALLOCATION_OBJECT_ALLOCATOR_FUNCTIONS |
| 2776 | template<typename... Types> |
| 2777 | Allocation* AllocationObjectAllocator::Allocate(Types... args) |
| 2778 | { |
| 2779 | MutexLock mutexLock(m_Mutex); |
| 2780 | return m_Allocator.Alloc(std::forward<Types>(args)...); |
| 2781 | } |
| 2782 | |
| 2783 | void AllocationObjectAllocator::Free(Allocation* alloc) |
| 2784 | { |
no test coverage detected