mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-07-31 02:41:58 +08:00
remove useless operator functions
This commit is contained in:
parent
74b02336ba
commit
040be5f318
@ -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
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user