diff --git a/wpiutil/src/main/native/include/wpi/StringMap.h b/wpiutil/src/main/native/include/wpi/StringMap.h index 915239886db..4be368d2134 100644 --- a/wpiutil/src/main/native/include/wpi/StringMap.h +++ b/wpiutil/src/main/native/include/wpi/StringMap.h @@ -18,24 +18,24 @@ template >> class StringMap : public std::map, Allocator> { public: - using map_type = std::map>; - using key_type = map_type::key_type; - using mapped_type = map_type::mapped_type; - using value_type = map_type::value_type; - using size_type = map_type::size_type; - using difference_type = map_type::difference_type; - using key_compare = map_type::key_compare; - using allocator_type = map_type::allocator_type; - using reference = map_type::reference; - using const_reference = map_type::const_reference; - using pointer = map_type::pointer; - using const_pointer = map_type::const_pointer; - using iterator = map_type::iterator; - using const_iterator = map_type::const_iterator; - using reverse_iterator = map_type::reverse_iterator; - using const_reverse_iterator = map_type::const_reverse_iterator; - using node_type = map_type::node_type; - using insert_return_type = map_type::insert_return_type; + using map_type = typename std::map>; + using key_type = typename map_type::key_type; + using mapped_type = typename map_type::mapped_type; + using value_type = typename map_type::value_type; + using size_type = typename map_type::size_type; + using difference_type = typename map_type::difference_type; + using key_compare = typename map_type::key_compare; + using allocator_type = typename map_type::allocator_type; + using reference = typename map_type::reference; + using const_reference = typename map_type::const_reference; + using pointer = typename map_type::pointer; + using const_pointer = typename map_type::const_pointer; + using iterator = typename map_type::iterator; + using const_iterator = typename map_type::const_iterator; + using reverse_iterator = typename map_type::reverse_iterator; + using const_reverse_iterator = typename map_type::const_reverse_iterator; + using node_type = typename map_type::node_type; + using insert_return_type = typename map_type::insert_return_type; StringMap() = default; explicit StringMap(const Allocator& alloc) : map_type{alloc} {}