forked from mpusz/mp-units
fix: default-initialize with zero()
This commit is contained in:
committed by
Mateusz Pusz
parent
92c6b0d132
commit
ead398f812
@@ -46,7 +46,7 @@ public:
|
|||||||
using rep = typename quantity_type::rep;
|
using rep = typename quantity_type::rep;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
quantity_type q_{};
|
quantity_type q_{quantity_type::zero()};
|
||||||
|
|
||||||
public:
|
public:
|
||||||
quantity_point() = default;
|
quantity_point() = default;
|
||||||
|
Reference in New Issue
Block a user