Lua/LuaInstance: Add conversion operator to UInt32
This commit is contained in:
@@ -33,6 +33,12 @@ namespace Nz
|
||||
return m_value != 0;
|
||||
}
|
||||
|
||||
template<typename E>
|
||||
constexpr Flags<E>::operator UInt32() const
|
||||
{
|
||||
return m_value;
|
||||
}
|
||||
|
||||
template<typename E>
|
||||
constexpr Flags<E> Flags<E>::operator~() const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user