Merge pull request #3452 from Beep6581/cppcheck
merge fixes for a lot of issues reported by Cppcheck
This commit is contained in:
@@ -35,7 +35,7 @@ struct Coord
|
||||
Coord () = default;
|
||||
Coord (const int x, const int y);
|
||||
Coord (const Coord& other) = default;
|
||||
Coord (const PolarCoord& other);
|
||||
explicit Coord (const PolarCoord& other);
|
||||
|
||||
Coord& operator= (const Coord& other) = default;
|
||||
Coord& operator= (const PolarCoord& other);
|
||||
@@ -69,7 +69,7 @@ struct PolarCoord
|
||||
PolarCoord () = default;
|
||||
PolarCoord (const double radius, const double angle);
|
||||
PolarCoord (const PolarCoord& other) = default;
|
||||
PolarCoord (const Coord& other);
|
||||
explicit PolarCoord (const Coord& other);
|
||||
|
||||
PolarCoord& operator= (const PolarCoord& other) = default;
|
||||
PolarCoord& operator= (const Coord& other);
|
||||
|
Reference in New Issue
Block a user