Merge pull request #1193 from asuessenbach/FlagTraits

Remove the 'allFlags' from the general FlagTraits struct to catch unintentional usage with something different than a supported FlagBitsType.
This commit is contained in:
Andreas Süßenbach 2022-02-07 09:06:00 +01:00 committed by GitHub
commit 8a1d42ee55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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"(
template <typename FlagBitsType>
struct FlagTraits
{
enum
{
allFlags = 0
};
};
{};
template <typename BitType>
class Flags

View File

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