We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aca35f1 commit 552d7afCopy full SHA for 552d7af
1 file changed
src/D3D12MemAlloc.cpp
@@ -2795,7 +2795,7 @@ class AllocationObjectAllocator
2795
D3D12MA_CLASS_NO_COPY(AllocationObjectAllocator);
2796
public:
2797
AllocationObjectAllocator(const ALLOCATION_CALLBACKS& allocationCallbacks, bool useMutex)
2798
- : m_Allocator(allocationCallbacks, 1024), m_UseMutex(useMutex) {}
+ : m_UseMutex(useMutex), m_Allocator(allocationCallbacks, 1024) {}
2799
2800
template<typename... Types>
2801
Allocation* Allocate(Types... args);
0 commit comments