mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2024-10-14 16:32:17 +00:00
Merge pull request #1438 from asuessenbach/flags
Fix Flags<T>::operator~()
This commit is contained in:
commit
d6493eae1d
@ -84,7 +84,7 @@
|
||||
|
||||
VULKAN_HPP_CONSTEXPR Flags<BitType> operator~() const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
return Flags<BitType>( m_mask ^ FlagTraits<BitType>::allFlags );
|
||||
return Flags<BitType>( m_mask ^ FlagTraits<BitType>::allFlags.m_mask );
|
||||
}
|
||||
|
||||
// assignment operators
|
||||
|
@ -454,7 +454,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
|
||||
VULKAN_HPP_CONSTEXPR Flags<BitType> operator~() const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
return Flags<BitType>( m_mask ^ FlagTraits<BitType>::allFlags );
|
||||
return Flags<BitType>( m_mask ^ FlagTraits<BitType>::allFlags.m_mask );
|
||||
}
|
||||
|
||||
// assignment operators
|
||||
|
Loading…
Reference in New Issue
Block a user