RHI: suppress annoying warning about deprecated copy constructors
With clang 13: vk_mem_alloc.h:4360:22: warning: definition of implicit copy constructor for 'VmaStlAllocator<VmaDefragmentationAlgorithm::AllocationInfo>' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy] vk_mem_alloc.h:4391:9: note: in implicit copy constructor for 'VmaStlAllocator<VmaDefragmentationAlgorithm::AllocationInfo>' first required here Repeats ad nauseam Change-Id: Iea05060bc2c046928536fffd16adf5181ede7abe Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>bb10
parent
b64d720b28
commit
8662fbdd7e
|
|
@ -49,6 +49,7 @@
|
|||
#endif
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_GCC("-Wsuggest-override")
|
||||
QT_WARNING_DISABLE_CLANG("-Wdeprecated-copy")
|
||||
#include "vk_mem_alloc.h"
|
||||
QT_WARNING_POP
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue