mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2024-10-14 16:32:17 +00:00
Remove the 'allFlags' from the general FlagTraits struct to catch unintentional usage with something different than a supported FlagBitsType.
This commit is contained in:
parent
90320ca8bd
commit
7135c7e1a3
@ -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
|
||||
|
@ -640,12 +640,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
|
||||
template <typename FlagBitsType>
|
||||
struct FlagTraits
|
||||
{
|
||||
enum
|
||||
{
|
||||
allFlags = 0
|
||||
};
|
||||
};
|
||||
{};
|
||||
|
||||
template <typename BitType>
|
||||
class Flags
|
||||
|
Loading…
Reference in New Issue
Block a user