From 591a20c1518db78fbc00550f7dc5e438ddb555f1 Mon Sep 17 00:00:00 2001 From: Roland Conybeare Date: Fri, 3 May 2024 22:06:27 -0400 Subject: [PATCH] xo-unit: ex3: simplify --- example/ex3/ex3.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/example/ex3/ex3.cpp b/example/ex3/ex3.cpp index fd1faebb..b1a9b1b8 100644 --- a/example/ex3/ex3.cpp +++ b/example/ex3/ex3.cpp @@ -13,8 +13,8 @@ main () { using xo::flatstring; using namespace std; - constexpr stdquantity t = q::minutes(2); - constexpr stdquantity d = q::kilometers(2.5); + constexpr stdquantity t = q::minutes(2); + constexpr stdquantity d = q::kilometers(2.5); constexpr auto t2 = t*t; constexpr auto a = d / (t*t);