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

summaryrefslogtreecommitdiff
path: root/source/core/StarOrderedSet.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/core/StarOrderedSet.hpp')
-rw-r--r--source/core/StarOrderedSet.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/core/StarOrderedSet.hpp b/source/core/StarOrderedSet.hpp
index abfb19b..4645a38 100644
--- a/source/core/StarOrderedSet.hpp
+++ b/source/core/StarOrderedSet.hpp
@@ -14,10 +14,10 @@ class OrderedSetWrapper {
public:
typedef Value value_type;
- typedef LinkedList<value_type, typename Allocator::template rebind<value_type>::other> OrderType;
+ typedef LinkedList<value_type, typename std::allocator_traits<Allocator>::template rebind_alloc<value_type>> OrderType;
typedef Map<
std::reference_wrapper<value_type const>, typename OrderType::const_iterator, Args...,
- typename Allocator::template rebind<pair<std::reference_wrapper<value_type const> const, typename OrderType::const_iterator>>::other
+ typename std::allocator_traits<Allocator>::template rebind_alloc<pair<std::reference_wrapper<value_type const> const, typename OrderType::const_iterator>>
> MapType;
typedef typename OrderType::const_iterator const_iterator;