From af100b6b0142d8a476ce935bd8e59b4e76bcdedb Mon Sep 17 00:00:00 2001 From: "Timur A. Fatkhullin" Date: Mon, 7 Sep 2026 23:24:34 +0300 Subject: [PATCH] ... --- include/snipplib/containers/snplib_hmap.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/snipplib/containers/snplib_hmap.h b/include/snipplib/containers/snplib_hmap.h index cac2b87..e4d0097 100644 --- a/include/snipplib/containers/snplib_hmap.h +++ b/include/snipplib/containers/snplib_hmap.h @@ -462,11 +462,13 @@ public: template requires requires(VT v, UT u) { u = v; } - inline static auto trivial_conv_from = [](VT const& val) -> hmap_expected_t { return static_cast(val); }; + inline static std::function(VT const&)> trivial_conv_from = + [](VT const& val) -> hmap_expected_t { return static_cast(val); }; template requires requires(VT v, UT u) { v = u; } - inline static auto trivial_conv_to = [](UT const& uval) -> hmap_expected_t { return static_cast(uval); }; + inline static std::function(UT const&)> trivial_conv_to = + [](UT const& uval) -> hmap_expected_t { return static_cast(uval); }; hmap() = default;