diff --git a/include/boost/unordered/unordered_node_map.hpp b/include/boost/unordered/unordered_node_map.hpp index 81493a20..10202787 100644 --- a/include/boost/unordered/unordered_node_map.hpp +++ b/include/boost/unordered/unordered_node_map.hpp @@ -132,13 +132,13 @@ namespace boost { } }; - template + template struct node_map_handle - : public detail::foa::node_handle_base + : public detail::foa::node_handle_base { private: using base_type = - detail::foa::node_handle_base; + detail::foa::node_handle_base; using typename base_type::type_policy; @@ -146,8 +146,8 @@ namespace boost { friend class boost::unordered::unordered_node_map; public: - using key_type = typename NodeMapTypes::key_type; - using mapped_type = typename NodeMapTypes::mapped_type; + using key_type = typename TypePolicy::key_type; + using mapped_type = typename TypePolicy::mapped_type; constexpr node_map_handle() noexcept = default; node_map_handle(node_map_handle&& nh) noexcept = default; diff --git a/include/boost/unordered/unordered_node_set.hpp b/include/boost/unordered/unordered_node_set.hpp index 2fcd4f8b..d70cb608 100644 --- a/include/boost/unordered/unordered_node_set.hpp +++ b/include/boost/unordered/unordered_node_set.hpp @@ -114,13 +114,13 @@ namespace boost { } }; - template + template struct node_set_handle - : public detail::foa::node_handle_base + : public detail::foa::node_handle_base { private: using base_type = - detail::foa::node_handle_base; + detail::foa::node_handle_base; using typename base_type::type_policy; @@ -128,7 +128,7 @@ namespace boost { friend class boost::unordered::unordered_node_set; public: - using value_type = typename NodeSetTypes::value_type; + using value_type = typename TypePolicy::value_type; constexpr node_set_handle() noexcept = default; node_set_handle(node_set_handle&& nh) noexcept = default;