1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

0026780: Coding rules - eliminate warnings on Linux and Mac

Fixed a few remaining warnings found by GCC, CLang, and VC++ 14 (recent changes)
This commit is contained in:
abv
2015-11-11 09:32:41 +03:00
parent 7dc2c1656a
commit f2139a7f0f
9 changed files with 41 additions and 46 deletions

View File

@@ -43,16 +43,6 @@ namespace
}
}
//! Apply floor to vector components.
//! @param theVec - vector to change (by reference!)
//! @return modified vector
inline Vec2f& floor (Vec2f& theVec)
{
theVec.x() = std::floor (theVec.x());
theVec.y() = std::floor (theVec.y());
return theVec;
}
}
// =======================================================================