Fix Flags<T>::operator~()

This commit is contained in:
asuessenbach 2022-11-02 08:23:33 +01:00
parent 1ecb9abef5
commit 040686faae
2 changed files with 2 additions and 2 deletions

View File

@ -84,7 +84,7 @@
VULKAN_HPP_CONSTEXPR Flags<BitType> operator~() const VULKAN_HPP_NOEXCEPT 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 // assignment operators

View File

@ -454,7 +454,7 @@ namespace VULKAN_HPP_NAMESPACE
VULKAN_HPP_CONSTEXPR Flags<BitType> operator~() const VULKAN_HPP_NOEXCEPT 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 // assignment operators