From 09c7b059c7700fb34c5f5277c2fd73923675a7e7 Mon Sep 17 00:00:00 2001 From: Yves Delley Date: Fri, 10 May 2024 21:38:40 +0200 Subject: [PATCH] review suggestions Co-authored-by: Mateusz Pusz --- test/static/quantity_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/static/quantity_test.cpp b/test/static/quantity_test.cpp index ea375e38..69b653f7 100644 --- a/test/static/quantity_test.cpp +++ b/test/static/quantity_test.cpp @@ -939,7 +939,7 @@ static_assert(is_of_type>(isq::length(1 * m)) static_assert(is_of_type>(isq::distance(1 * m)), quantity>); // lvalue references in quantity_cast namespace lvalue_tests { -quantity lvalue_q = 1 * m; +constexpr quantity lvalue_q = 1 * m; static_assert(is_of_type(lvalue_q), quantity>); } // namespace lvalue_tests