DRW_Coord: Simplify constructor.

This commit is contained in:
Roman Telezhynskyi 2021-11-22 18:48:47 +02:00
parent c7fc0b8dcb
commit b18f09d86e

View File

@ -216,11 +216,7 @@ static inline bool DRW_FuzzyComparePossibleNulls(double p1, double p2)
*/ */
class DRW_Coord { class DRW_Coord {
public: public:
DRW_Coord() DRW_Coord() = default;
: x(0),
y(0),
z(0)
{}
DRW_Coord(double ix, double iy, double iz) DRW_Coord(double ix, double iy, double iz)
: x(ix), : x(ix),
y(iy), y(iy),
@ -257,9 +253,9 @@ public:
} }
public: public:
double x; double x {0};
double y; double y {0};
double z; double z {0};
}; };