Skip to content

Commit

Permalink
fix compilation in c++20
Browse files Browse the repository at this point in the history
  • Loading branch information
prudhomm committed Apr 22, 2024
1 parent eaf7401 commit 087caeb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Src/Utils/SpMap.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ class SpMap{
KeyType key;
ValueType value;

KKV(std::size_t inHkey, KeyType&& inKey, ValueType&& inValue)
: hkey(inHkey), key(std::forward<KeyType>(inKey)), value(std::forward<ValueType>(inValue)) {}
KKV() = default;
KKV(const KKV&) = default;
KKV(KKV&&) = default;
Expand Down

0 comments on commit 087caeb

Please sign in to comment.