diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-02-20 19:34:58 +1100 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-02-20 19:34:58 +1100 |
commit | e6f96cb2bd94df5bc05d763892805d4c1ced2fa8 (patch) | |
tree | e108aa02fa7e46453628119310c8bf17e83742b8 /source/core/StarOrderedMap.hpp | |
parent | 43b2fa53e7a6ba8bc220306fbe9bbda00076a520 (diff) |
std::allocator::rebind is deprecated
Clang should no longer scream
Diffstat (limited to 'source/core/StarOrderedMap.hpp')
-rw-r--r-- | source/core/StarOrderedMap.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/core/StarOrderedMap.hpp b/source/core/StarOrderedMap.hpp index be99769..50482bf 100644 --- a/source/core/StarOrderedMap.hpp +++ b/source/core/StarOrderedMap.hpp @@ -17,7 +17,7 @@ public: typedef LinkedList<value_type, Allocator> OrderType; typedef Map< std::reference_wrapper<key_type const>, typename OrderType::iterator, MapArgs..., - typename Allocator::template rebind<pair<std::reference_wrapper<key_type const> const, typename OrderType::iterator>>::other + typename std::allocator_traits<Allocator>::template rebind_alloc<pair<std::reference_wrapper<key_type const> const, typename OrderType::iterator>> > MapType; typedef typename OrderType::iterator iterator; |