remove useless operator functions

This commit is contained in:
supermerill 2018-11-27 17:32:24 +01:00
parent 74b02336ba
commit 040be5f318

View File

@ -24,10 +24,6 @@ inline SurfaceType operator|=(SurfaceType& a, SurfaceType b)
{ a = a | b; return a;}
inline SurfaceType operator&=(SurfaceType& a, SurfaceType b)
{ a = a & b; return a;}
inline bool operator==(SurfaceType a, SurfaceType b)
{return static_cast<uint16_t>(a) ^ static_cast<uint16_t>(b) == 0;}
inline bool operator!=(SurfaceType a, SurfaceType b)
{return static_cast<uint16_t>(a) ^ static_cast<uint16_t>(b) != 0;}
class Surface
{