diff --git a/include/boost/unordered/unordered_flat_map.hpp b/include/boost/unordered/unordered_flat_map.hpp index 4991b675..dd464eb2 100644 --- a/include/boost/unordered/unordered_flat_map.hpp +++ b/include/boost/unordered/unordered_flat_map.hpp @@ -46,12 +46,12 @@ namespace boost { using value_type = std::pair; template - static inline raw_key_type const& extract(std::pair const& kv) + static raw_key_type const& extract(std::pair const& kv) { return kv.first; } - static inline moved_type move(value_type& x) + static moved_type move(value_type& x) { // TODO: we probably need to launder here return {std::move(const_cast(x.first)), diff --git a/include/boost/unordered/unordered_flat_set.hpp b/include/boost/unordered/unordered_flat_set.hpp index b3042ca9..1950dfb3 100644 --- a/include/boost/unordered/unordered_flat_set.hpp +++ b/include/boost/unordered/unordered_flat_set.hpp @@ -38,8 +38,8 @@ namespace boost { using key_type = Key; using init_type = Key; using value_type = Key; - static inline Key const& extract(value_type const& key) { return key; } - static inline Key&& move(value_type& x) { return std::move(x); } + static Key const& extract(value_type const& key) { return key; } + static Key&& move(value_type& x) { return std::move(x); } }; using table_type = detail::foa::table