From 2f78ac8e784baadd95375473463cd667bb51511a Mon Sep 17 00:00:00 2001 From: meator Date: Thu, 23 Jan 2025 21:41:23 +0100 Subject: [PATCH] Fix std::hash specializations Similar to https://github.com/oliora/samples/pull/11. --- spimpl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spimpl.h b/spimpl.h index 7dafccf..7d90049 100644 --- a/spimpl.h +++ b/spimpl.h @@ -572,7 +572,7 @@ namespace std { result_type operator()(const argument_type& p) const SPIMPL_NOEXCEPT { - return hash()(p.get()); + return hash()(p.get()); } }; @@ -584,7 +584,7 @@ namespace std { result_type operator()(const argument_type& p) const SPIMPL_NOEXCEPT { - return hash()(p.get()); + return hash()(p.get()); } }; }