diff --git a/test/flat_map_test.hpp b/test/flat_map_test.hpp index fa261c1..46ee506 100644 --- a/test/flat_map_test.hpp +++ b/test/flat_map_test.hpp @@ -17,6 +17,7 @@ #include #include #include +#include #include #include "map_test.hpp" diff --git a/test/flat_tree_test.cpp b/test/flat_tree_test.cpp index 78feb75..f62cd8b 100644 --- a/test/flat_tree_test.cpp +++ b/test/flat_tree_test.cpp @@ -97,6 +97,10 @@ template class flat_tree }} //boost::container #if (BOOST_CXX_VERSION >= 201103L) +//Old GCCs have problems (compiler bugs) with std::vector and flat_xxx +#if !defined(BOOST_GCC) || (BOOST_GCC < 50000) +// flat_map, std::vector + #include namespace boost{ @@ -120,6 +124,7 @@ template class flat_tree } //dtl { }} //boost::container +#endif #endif int main ()