File 0001-drop-constexpr.patch of Package arangodb3
From 93f3848de087b9be35760b84e7aa66a1c8ce6061 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <kkaempf@gmail.com>
Date: Thu, 9 Mar 2023 15:21:06 +0100
Subject: [PATCH] drop constexpr
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Klaus Kämpf <kkaempf@gmail.com>
---
external/frozen/include/frozen/unordered_map.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/external/frozen/include/frozen/unordered_map.h b/external/frozen/include/frozen/unordered_map.h
index 4c6cc582..d0583767 100644
--- a/external/frozen/include/frozen/unordered_map.h
+++ b/external/frozen/include/frozen/unordered_map.h
@@ -156,7 +156,7 @@ private:
}
template <class This>
- static inline constexpr auto find_impl(This&& self, Key const &key) {
+ static inline auto find_impl(This&& self, Key const &key) {
auto& kv = self.lookup(key);
if (self.equal_(kv.first, key))
return &kv;
--
2.39.2