Skip to content

Commit

Permalink
Fix using signals2 with gcc 10 and --std=gnu++20: deprecated std::all…
Browse files Browse the repository at this point in the history
…ocator member access.
  • Loading branch information
Romain-Geissler-1A committed Mar 9, 2020
1 parent 51152cc commit 15fcf21
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/boost/signals2/detail/auto_buffer.hpp
Expand Up @@ -142,7 +142,11 @@ namespace detail
typedef typename Allocator::size_type size_type;
typedef typename Allocator::difference_type difference_type;
typedef T* pointer;
#ifdef BOOST_NO_CXX11_ALLOCATOR
typedef typename Allocator::pointer allocator_pointer;
#else
typedef typename std::allocator_traits<Allocator>::pointer allocator_pointer;
#endif
typedef const T* const_pointer;
typedef T& reference;
typedef const T& const_reference;
Expand Down

0 comments on commit 15fcf21

Please sign in to comment.