Remove the 'allFlags' from the general FlagTraits struct to catch unintentional usage with something different than a supported FlagBitsType.

This commit is contained in:
asuessenbach 2022-02-03 17:34:43 +01:00
parent 90320ca8bd
commit 7135c7e1a3
2 changed files with 2 additions and 12 deletions

View File

@ -16791,12 +16791,7 @@ int main( int argc, char ** argv )
static const std::string classFlags = R"( static const std::string classFlags = R"(
template <typename FlagBitsType> template <typename FlagBitsType>
struct FlagTraits struct FlagTraits
{ {};
enum
{
allFlags = 0
};
};
template <typename BitType> template <typename BitType>
class Flags class Flags

View File

@ -640,12 +640,7 @@ namespace VULKAN_HPP_NAMESPACE
template <typename FlagBitsType> template <typename FlagBitsType>
struct FlagTraits struct FlagTraits
{ {};
enum
{
allFlags = 0
};
};
template <typename BitType> template <typename BitType>
class Flags class Flags