src/core/enum_type.hpp
changeset 9659 187142ff9b6c
parent 9575 58d55b1a70c9
equal deleted inserted replaced
9658:f5c4d3c04b5d 9659:187142ff9b6c
    92 	}
    92 	}
    93 
    93 
    94 	/** Assignment operator (from Tenum_t type) */
    94 	/** Assignment operator (from Tenum_t type) */
    95 	FORCEINLINE TinyEnumT& operator = (enum_type e)
    95 	FORCEINLINE TinyEnumT& operator = (enum_type e)
    96 	{
    96 	{
    97 		m_val = (storage_type)e; return *this;
    97 		m_val = (storage_type)e;
       
    98 		return *this;
       
    99 	}
       
   100 
       
   101 	/** Assignment operator (from Tenum_t type) */
       
   102 	FORCEINLINE TinyEnumT& operator = (uint u)
       
   103 	{
       
   104 		m_val = (storage_type)u;
       
   105 		return *this;
    98 	}
   106 	}
    99 
   107 
   100 	/** postfix ++ operator on tiny type */
   108 	/** postfix ++ operator on tiny type */
   101 	FORCEINLINE TinyEnumT operator ++ (int)
   109 	FORCEINLINE TinyEnumT operator ++ (int)
   102 	{
   110 	{