Merge pull request #13 from billeter/flagfix

Cast to MaskType rather than uint32_t
This commit is contained in:
Andreas Süßenbach 2016-07-27 19:36:28 +02:00 committed by GitHub
commit 633182bbc0
2 changed files with 2 additions and 2 deletions

View File

@ -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"

View File

@ -77,7 +77,7 @@ namespace vk
}
Flags(BitType bit)
: m_mask(static_cast<uint32_t>(bit))
: m_mask(static_cast<MaskType>(bit))
{
}