From b39f502c6ce07ead0fea1f67008eb9b839bc211a Mon Sep 17 00:00:00 2001 From: Roland Conybeare Date: Fri, 3 May 2024 22:05:22 -0400 Subject: [PATCH] xo-unit: refactor: drop default value for NaturalUnit arg --- include/xo/unit/quantity.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/xo/unit/quantity.hpp b/include/xo/unit/quantity.hpp index 364ab216..70673ad9 100644 --- a/include/xo/unit/quantity.hpp +++ b/include/xo/unit/quantity.hpp @@ -158,7 +158,7 @@ namespace xo { Repr scale_ = Repr{}; }; - template < natural_unit NaturalUnit = natural_unit(), + template < natural_unit NaturalUnit, typename Repr = double > using stdquantity = quantity;