From 8c54bbdc9a811fdd662aaca568892a6e0b33350d Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Fri, 16 Jun 2023 10:26:34 +0300 Subject: [PATCH] refactor(example): `hello_units` example changed to better reflect the code in README --- example/hello_units.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/hello_units.cpp b/example/hello_units.cpp index c6b7445d..d9a2ebcb 100644 --- a/example/hello_units.cpp +++ b/example/hello_units.cpp @@ -29,7 +29,7 @@ using namespace mp_units; -constexpr QuantityOf auto avg_speed(QuantityOf auto d, QuantityOf auto t) +constexpr QuantityOf auto avg_speed(QuantityOf auto d, QuantityOf auto t) { return d / t; }