From a3320b1bcd0344d6ffc8dbda9c9210b2d29886e7 Mon Sep 17 00:00:00 2001 From: Max Friedrich Date: Mon, 9 Dec 2024 20:07:59 +0100 Subject: [PATCH] fix constexpr position Co-authored-by: mark9064 <30447455+mark9064@users.noreply.github.com> --- src/displayapp/screens/Calculator.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/displayapp/screens/Calculator.h b/src/displayapp/screens/Calculator.h index d71b7a83b2..9971f275a4 100644 --- a/src/displayapp/screens/Calculator.h +++ b/src/displayapp/screens/Calculator.h @@ -6,7 +6,7 @@ #include "Symbols.h" namespace { - int64_t constexpr powi(int64_t base, uint8_t exponent) { + constexpr int64_t powi(int64_t base, uint8_t exponent) { int64_t value = 1; while (exponent) { value *= base;