mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-05 05:04:27 +02:00
fix: default-initialize with zero()
This commit is contained in:
@@ -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