replace remaining boost::unordered_map
This commit is contained in:
parent
93937ca443
commit
98d87f4c88
2 changed files with 6 additions and 6 deletions
|
@ -36,8 +36,8 @@
|
|||
#include <mapnik/sparsehash/dense_hash_map>
|
||||
using rgba_hash_table = google::dense_hash_map<unsigned int, unsigned char>;
|
||||
#else
|
||||
#include <boost/unordered_map.hpp>
|
||||
using rgba_hash_table = boost::unordered_map<unsigned int, unsigned char>;
|
||||
#include <unordered_map>
|
||||
using rgba_hash_table = std::unordered_map<unsigned int, unsigned char>;
|
||||
#endif
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
|
|
|
@ -28,12 +28,12 @@
|
|||
#include <mapnik/params.hpp>
|
||||
|
||||
// boost
|
||||
#include <boost/unordered_map.hpp>
|
||||
#include <boost/assign/list_of.hpp>
|
||||
#endif
|
||||
|
||||
// stl
|
||||
#include <stdexcept>
|
||||
#include <unordered_map>
|
||||
|
||||
// static plugin linkage
|
||||
#ifdef MAPNIK_STATIC_PLUGINS
|
||||
|
@ -88,7 +88,7 @@ datasource_ptr ds_generator(parameters const& params)
|
|||
}
|
||||
|
||||
typedef datasource_ptr (*ds_generator_ptr)(parameters const& params);
|
||||
using datasource_map = boost::unordered_map<std::string, ds_generator_ptr>;
|
||||
using datasource_map = std::unordered_map<std::string, ds_generator_ptr>;
|
||||
|
||||
static datasource_map ds_map = boost::assign::map_list_of
|
||||
#if defined(MAPNIK_STATIC_PLUGIN_CSV)
|
||||
|
|
Loading…
Reference in a new issue