From 8f51891631b09d9ceffeeb2d53a24680dda2c328 Mon Sep 17 00:00:00 2001 From: Ed Hennis Date: Mon, 15 Jun 2026 14:57:39 -0400 Subject: [PATCH] Use constexpr in one more place --- src/test/basics/Number_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/basics/Number_test.cpp b/src/test/basics/Number_test.cpp index c0445d9ad0..311270a8e6 100644 --- a/src/test/basics/Number_test.cpp +++ b/src/test/basics/Number_test.cpp @@ -2271,7 +2271,7 @@ public: constexpr auto kMaxRep = Number::kMaxRep; // Both ToNearest and Downward should round to `below` - auto const actual = static_cast(kMaxRep) + 1; + auto constexpr actual = static_cast(kMaxRep) + 1; Number const below{static_cast(kMaxRep), 0}; Number const above{ false, static_cast(kMaxRep) + 3, 0, Number::Normalized{}};