mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
synced 2024-11-10 10:41:52 +00:00
Fix clang -Wdeprecated-copy.
The copy constructor must be explicitly defined (here, defaulted) to be available when the assignment operator is deleted. While there is a templated constructor from VmaStlAlloc<U>, the compiler doesn't consider this to be a "copy" constructor for purposes of the warning.
This commit is contained in:
parent
4a132e510c
commit
a850ffbe46
@ -4963,6 +4963,7 @@ public:
|
||||
}
|
||||
|
||||
VmaStlAllocator& operator=(const VmaStlAllocator& x) = delete;
|
||||
VmaStlAllocator(const VmaStlAllocator&) = default;
|
||||
};
|
||||
|
||||
#if VMA_USE_STL_VECTOR
|
||||
|
Loading…
Reference in New Issue
Block a user