mirror of
https://github.com/KhronosGroup/Vulkan-Hpp
synced 2024-11-21 20:00:11 +00:00
Fix Flags<T>::operator~()
This commit is contained in:
parent
1ecb9abef5
commit
040686faae
@ -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