resolve warnings

This commit is contained in:
supermerill 2018-11-28 15:35:27 +01:00
parent 040be5f318
commit 692f3f6827

View File

@ -16,7 +16,7 @@ Surface::area() const
bool
Surface::is_solid() const
{
return this->surface_type & (stTop | stBottom | stSolid | stBridge) != 0;
return (this->surface_type & (stTop | stBottom | stSolid | stBridge)) != 0;
}
bool
@ -28,25 +28,25 @@ Surface::is_external() const
bool
Surface::is_internal() const
{
return this->surface_type & stInternal != 0;
return (this->surface_type & stInternal) != 0;
}
bool
Surface::is_bottom() const
{
return this->surface_type & stBottom != 0;
return (this->surface_type & stBottom) != 0;
}
bool
Surface::is_top() const
{
return this->surface_type & stTop != 0;
return (this->surface_type & stTop) != 0;
}
bool
Surface::is_bridge() const
{
return this->surface_type & stBridge != 0;
return (this->surface_type & stBridge) != 0;
}
}