mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2024-10-14 16:32:17 +00:00
Merge pull request #13 from billeter/flagfix
Cast to MaskType rather than uint32_t
This commit is contained in:
commit
633182bbc0
@ -72,7 +72,7 @@ const std::string flagsHeader(
|
||||
" }\n"
|
||||
"\n"
|
||||
" Flags(BitType bit)\n"
|
||||
" : m_mask(static_cast<uint32_t>(bit))\n"
|
||||
" : m_mask(static_cast<MaskType>(bit))\n"
|
||||
" {\n"
|
||||
" }\n"
|
||||
"\n"
|
||||
|
@ -77,7 +77,7 @@ namespace vk
|
||||
}
|
||||
|
||||
Flags(BitType bit)
|
||||
: m_mask(static_cast<uint32_t>(bit))
|
||||
: m_mask(static_cast<MaskType>(bit))
|
||||
{
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user