From 755a6e15b5665914a6d67157abc1060746e658b0 Mon Sep 17 00:00:00 2001
From: Chris Robinson <chris.kcat@gmail.com>
Date: Mon, 8 May 2023 13:56:52 -0700
Subject: Make a function constexpr

---
 core/ambidefs.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'core/ambidefs.cpp')

diff --git a/core/ambidefs.cpp b/core/ambidefs.cpp
index 70d6f356..c1bb5c81 100644
--- a/core/ambidefs.cpp
+++ b/core/ambidefs.cpp
@@ -258,7 +258,7 @@ static_assert(FourthOrder2DDecoder.size() == FourthOrder2DEncoder.size(), "Fourt
 
 
 template<size_t N, size_t M>
-auto CalcAmbiUpsampler(const std::array<std::array<float,N>,M> &decoder,
+constexpr auto CalcAmbiUpsampler(const std::array<std::array<float,N>,M> &decoder,
     const std::array<AmbiChannelFloatArray,M> &encoder)
 {
     std::array<AmbiChannelFloatArray,N> res{};
-- 
cgit v1.2.3