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;
|
||||
|
||||
private:
|
||||
quantity_type q_{};
|
||||
quantity_type q_{quantity_type::zero()};
|
||||
|
||||
public:
|
||||
quantity_point() = default;
|
||||
|
Reference in New Issue
Block a user