From 087caebf40456fb67c9a252df72d6352bb9ffb95 Mon Sep 17 00:00:00 2001 From: Christophe Prud'homme Date: Mon, 22 Apr 2024 05:59:31 +0200 Subject: [PATCH] fix compilation in c++20 --- Src/Utils/SpMap.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Src/Utils/SpMap.hpp b/Src/Utils/SpMap.hpp index 72569467..3ece88dc 100644 --- a/Src/Utils/SpMap.hpp +++ b/Src/Utils/SpMap.hpp @@ -16,6 +16,8 @@ class SpMap{ KeyType key; ValueType value; + KKV(std::size_t inHkey, KeyType&& inKey, ValueType&& inValue) + : hkey(inHkey), key(std::forward(inKey)), value(std::forward(inValue)) {} KKV() = default; KKV(const KKV&) = default; KKV(KKV&&) = default;