summaryrefslogtreecommitdiffstats
path: root/src/gui/vulkan/qplatformvulkaninstance.cpp
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2023-04-27 17:00:41 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2023-04-28 07:45:22 +0200
commit1c5c1df43e2be10c46c13461888b012c89938150 (patch)
treeff2ca1cf2bbbf15f6863eafead47e69f8ed32f8b /src/gui/vulkan/qplatformvulkaninstance.cpp
parent9958edba41ac49097a54e0872c3c4934d2dd81f9 (diff)
Add a helper for better error messages when functor is incompatible
Amends 207aae5560aa2865ec55ddb9ecbb50048060c0c0 to make it easy to create human-friendly error messages. Since the functor-accepting member functions are not removed from the API, the first compile error will be that there is no suitable overload of the makeSlotObject helper, which. With the assert helper, the first error message is easier to understand. Change-Id: I4878ec35a44ddfa5dc9d9e358d81c3fd40389c0c Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/gui/vulkan/qplatformvulkaninstance.cpp')
0 files changed, 0 insertions, 0 deletions