Change structure member sType to non-const to allow default assignment operator. Make copy constructor and copy assignment default. The latter is required for C++20 designated initializers. Delegate the constructor from C-type to the copy constructor by casting rhs accordingly. Fix warnings on gcc/clang.

This commit is contained in:
Markus Tavenrath
2021-01-07 16:04:52 +01:00
parent 822bcdcb4a
commit 160dc916f9
26 changed files with 4551 additions and 7034 deletions

View File

@@ -21,9 +21,6 @@
#include <sstream>
#include <vector>
static char const * AppName = "InstanceLayerExtensionProperties";
static char const * EngineName = "Vulkan.hpp";
struct PropertyData
{
PropertyData( vk::LayerProperties const & layerProperties_,