diff --git a/include/boost/unordered/detail/extract_key.hpp b/include/boost/unordered/detail/extract_key.hpp index d907eab3..9f3d605d 100644 --- a/include/boost/unordered/detail/extract_key.hpp +++ b/include/boost/unordered/detail/extract_key.hpp @@ -38,10 +38,12 @@ namespace detail { return v; } +#if BOOST_UNORDERED_USE_RV_REF static key_type const& extract(BOOST_RV_REF(key_type) v) { return v; } +#endif static no_key extract() {