mirror of
https://github.com/boostorg/range.git
synced 2025-07-19 15:42:14 +02:00
gcc 3.4 fixes.
[SVN r23845]
This commit is contained in:
@ -15,6 +15,11 @@
|
|||||||
#include <boost/test/test_tools.hpp>
|
#include <boost/test/test_tools.hpp>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
|
// This should be included before "using namespace boost",
|
||||||
|
// otherwise gcc headers will be confused with boost::iterator
|
||||||
|
// namespace.
|
||||||
|
#include <boost/test/included/unit_test_framework.hpp>
|
||||||
|
|
||||||
using namespace boost;
|
using namespace boost;
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
@ -57,7 +62,7 @@ void check_array()
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <boost/test/included/unit_test_framework.hpp>
|
|
||||||
|
|
||||||
using boost::unit_test_framework::test_suite;
|
using boost::unit_test_framework::test_suite;
|
||||||
|
|
||||||
|
@ -15,6 +15,11 @@
|
|||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
|
// This should be included before "using namespace boost",
|
||||||
|
// otherwise gcc headers will be confused with boost::iterator
|
||||||
|
// namespace.
|
||||||
|
#include <boost/test/included/unit_test_framework.hpp>
|
||||||
|
|
||||||
using namespace boost;
|
using namespace boost;
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
@ -76,7 +81,6 @@ void check_iterator_range()
|
|||||||
BOOST_CHECK( !equal( s2.begin(), s2.end(), res2.begin() ) );
|
BOOST_CHECK( !equal( s2.begin(), s2.end(), res2.begin() ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <boost/test/included/unit_test_framework.hpp>
|
|
||||||
|
|
||||||
using boost::unit_test_framework::test_suite;
|
using boost::unit_test_framework::test_suite;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user