use std::size_t for mapnik::context mapping type

This commit is contained in:
Dane Springmeyer 2012-01-17 10:56:59 -05:00
parent 6a2a847c3b
commit 5414648538

View file

@ -46,7 +46,7 @@ namespace mapnik {
typedef boost::shared_ptr<raster> raster_ptr; typedef boost::shared_ptr<raster> raster_ptr;
typedef std::map<std::string,int> map_type; typedef std::map<std::string,std::size_t> map_type;
typedef boost::associative_property_map<map_type> base_type; typedef boost::associative_property_map<map_type> base_type;
class feature_impl; class feature_impl;
@ -85,8 +85,7 @@ class feature_impl : private boost::noncopyable
{ {
friend class feature_kv_iterator; friend class feature_kv_iterator;
public: public:
typedef mapnik::value value_type; typedef mapnik::value value_type;
typedef std::vector<value_type> cont_type; typedef std::vector<value_type> cont_type;