summaryrefslogtreecommitdiffstats
path: root/src/gui/rhi/qrhivulkan.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2021-10-14 10:14:05 -0700
committerThiago Macieira <thiago.macieira@intel.com>2021-10-18 14:58:58 -0700
commit8662fbdd7e0c8c5b089a3c9871ae0cd71790858e (patch)
tree52a3293d24c6e42b92024158c8b7b22ef6c00752 /src/gui/rhi/qrhivulkan.cpp
parentb64d720b2870c9b7bbf051328b4914172f46dee6 (diff)
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>
Diffstat (limited to 'src/gui/rhi/qrhivulkan.cpp')
-rw-r--r--src/gui/rhi/qrhivulkan.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/rhi/qrhivulkan.cpp b/src/gui/rhi/qrhivulkan.cpp
index 9757cc6997..d206263c5f 100644
--- a/src/gui/rhi/qrhivulkan.cpp
+++ b/src/gui/rhi/qrhivulkan.cpp
@@ -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