mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-07-30 21:12:00 +08:00
resolve warnings
This commit is contained in:
parent
040be5f318
commit
692f3f6827
@ -16,7 +16,7 @@ Surface::area() const
|
|||||||
bool
|
bool
|
||||||
Surface::is_solid() const
|
Surface::is_solid() const
|
||||||
{
|
{
|
||||||
return this->surface_type & (stTop | stBottom | stSolid | stBridge) != 0;
|
return (this->surface_type & (stTop | stBottom | stSolid | stBridge)) != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool
|
bool
|
||||||
@ -28,25 +28,25 @@ Surface::is_external() const
|
|||||||
bool
|
bool
|
||||||
Surface::is_internal() const
|
Surface::is_internal() const
|
||||||
{
|
{
|
||||||
return this->surface_type & stInternal != 0;
|
return (this->surface_type & stInternal) != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool
|
bool
|
||||||
Surface::is_bottom() const
|
Surface::is_bottom() const
|
||||||
{
|
{
|
||||||
return this->surface_type & stBottom != 0;
|
return (this->surface_type & stBottom) != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool
|
bool
|
||||||
Surface::is_top() const
|
Surface::is_top() const
|
||||||
{
|
{
|
||||||
return this->surface_type & stTop != 0;
|
return (this->surface_type & stTop) != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool
|
bool
|
||||||
Surface::is_bridge() const
|
Surface::is_bridge() const
|
||||||
{
|
{
|
||||||
return this->surface_type & stBridge != 0;
|
return (this->surface_type & stBridge) != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user