Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/core/StarFlatHashTable.hpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2024-02-20 19:34:58 +1100
committerKae <80987908+Novaenia@users.noreply.github.com>2024-02-20 19:34:58 +1100
commite6f96cb2bd94df5bc05d763892805d4c1ced2fa8 (patch)
treee108aa02fa7e46453628119310c8bf17e83742b8 /source/core/StarFlatHashTable.hpp
parent43b2fa53e7a6ba8bc220306fbe9bbda00076a520 (diff)
std::allocator::rebind is deprecated
Clang should no longer scream
Diffstat (limited to 'source/core/StarFlatHashTable.hpp')
-rw-r--r--source/core/StarFlatHashTable.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/core/StarFlatHashTable.hpp b/source/core/StarFlatHashTable.hpp
index e9a8680..793c573 100644
--- a/source/core/StarFlatHashTable.hpp
+++ b/source/core/StarFlatHashTable.hpp
@@ -39,7 +39,7 @@ private:
size_t hash;
};
- typedef std::vector<Bucket, typename Allocator::template rebind<Bucket>::other> Buckets;
+ typedef std::vector<Bucket, typename std::allocator_traits<Allocator>::template rebind_alloc<Bucket>> Buckets;
public:
struct const_iterator {