Base: modernize C++11

* remove redundant void-arg
* use nullptr
* replace deprecated headers
This commit is contained in:
wmayer
2022-01-25 20:21:30 +01:00
parent 6c29c65013
commit cad0d01883
72 changed files with 628 additions and 633 deletions

View File

@@ -168,7 +168,7 @@ bool BoundBox2d::Intersect(const Polygon2d &rclPoly) const
/********************************************************/
/** LINE2D **********************************************/
BoundBox2d Line2d::CalcBoundBox (void) const
BoundBox2d Line2d::CalcBoundBox () const
{
BoundBox2d clBB;
clBB.MinX = std::min<double> (clV1.x, clV2.x);
@@ -258,7 +258,7 @@ bool Line2d::IntersectAndContain (const Line2d& rclLine, Vector2d &rclV) const
/********************************************************/
/** POLYGON2d ********************************************/
BoundBox2d Polygon2d::CalcBoundBox (void) const
BoundBox2d Polygon2d::CalcBoundBox () const
{
unsigned long i;
BoundBox2d clBB;