remove unused boost.thread includes

This commit is contained in:
artemp 2013-10-11 13:39:39 +01:00
parent 0e40b3c87d
commit 582ca02f44
6 changed files with 5 additions and 11 deletions

View file

@ -5,7 +5,6 @@
#define BOOST_CHRONO_HEADER_ONLY #define BOOST_CHRONO_HEADER_ONLY
#include <boost/chrono/process_cpu_clocks.hpp> #include <boost/chrono/process_cpu_clocks.hpp>
#include <boost/chrono.hpp> #include <boost/chrono.hpp>
#include <boost/thread/thread.hpp>
using namespace boost::chrono; using namespace boost::chrono;
using namespace mapnik; using namespace mapnik;
@ -46,4 +45,4 @@ void test_wkt_creation()
int main( int, char*[] ) int main( int, char*[] )
{ {
return 0; return 0;
} }

View file

@ -31,7 +31,7 @@
// boost // boost
#include <boost/unordered_map.hpp> #include <boost/unordered_map.hpp>
#ifdef MAPNIK_THREADSAFE #ifdef MAPNIK_THREADSAFE
#include <boost/thread/mutex.hpp> #include <thread>
#endif #endif
// std // std

View file

@ -44,7 +44,7 @@
#include <boost/ptr_container/ptr_vector.hpp> #include <boost/ptr_container/ptr_vector.hpp>
#ifdef MAPNIK_THREADSAFE #ifdef MAPNIK_THREADSAFE
#include <boost/thread/mutex.hpp> #include <thread>
#endif #endif
// stl // stl

View file

@ -31,7 +31,7 @@
// boost // boost
#include <memory> #include <memory>
#ifdef MAPNIK_THREADSAFE #ifdef MAPNIK_THREADSAFE
#include <boost/thread/mutex.hpp> #include <thread>
#endif #endif
// stl // stl

View file

@ -27,11 +27,6 @@
#include <mapnik/debug.hpp> #include <mapnik/debug.hpp>
#include <mapnik/utils.hpp> #include <mapnik/utils.hpp>
// boost
#ifdef MAPNIK_THREADSAFE
#include <boost/thread/mutex.hpp>
#endif
// occi // occi
#include <occi.h> #include <occi.h>

View file

@ -33,7 +33,7 @@
// proj4 // proj4
#include <proj_api.h> #include <proj_api.h>
#if defined(MAPNIK_THREADSAFE) && PJ_VERSION < 480 #if defined(MAPNIK_THREADSAFE) && PJ_VERSION < 480
#include <boost/thread/mutex.hpp> #include <thread>
#ifdef _MSC_VER #ifdef _MSC_VER
#pragma NOTE(mapnik is building against < proj 4.8, reprojection will be faster if you use >= 4.8) #pragma NOTE(mapnik is building against < proj 4.8, reprojection will be faster if you use >= 4.8)
#else #else