mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2025-09-09 11:58:06 -04:00
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:
commit
8a1d42ee55
@ -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…
x
Reference in New Issue
Block a user