Fixes to flat_map when used as an adaptor from regression tests errors in Mingw.

This commit is contained in:
Ion Gaztañaga committed 2017-08-28 11:58:43 +02:00
1 parent c123accab1
commit 9ee836ee3d
4 files changed
+18 -9

No files matched your search

+2 -1
View File
@@ -460,13 +460,14 @@ class flat_tree
private:
typedef allocator_traits<stored_allocator_type> stored_allocator_traits;
public:
typedef typename container_detail::if_c
<has_stored_allocator_type, const stored_allocator_type &, allocator_type>::type get_stored_allocator_const_return_t;
typedef typename container_detail::if_c
<has_stored_allocator_type, stored_allocator_type &, allocator_type>::type get_stored_allocator_noconst_return_t;
public:
BOOST_CONTAINER_FORCEINLINE flat_tree()
: m_data()
{ }