From fd6381dc690d359f30007f26323c2db8a75369d3 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Fri, 4 Jan 2013 00:18:08 -0800 Subject: [PATCH] move feature_ptr typedef to feature.hpp to enable access without complexity of datasource header --- include/mapnik/datasource.hpp | 2 -- include/mapnik/feature.hpp | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/mapnik/datasource.hpp b/include/mapnik/datasource.hpp index 92974c998..6ff92ae73 100644 --- a/include/mapnik/datasource.hpp +++ b/include/mapnik/datasource.hpp @@ -40,8 +40,6 @@ namespace mapnik { -typedef MAPNIK_DECL boost::shared_ptr feature_ptr; - struct MAPNIK_DECL Featureset : private mapnik::noncopyable { virtual feature_ptr next() = 0; diff --git a/include/mapnik/feature.hpp b/include/mapnik/feature.hpp index daa732be0..2782562e2 100644 --- a/include/mapnik/feature.hpp +++ b/include/mapnik/feature.hpp @@ -313,6 +313,8 @@ inline std::ostream& operator<< (std::ostream & out,feature_impl const& f) typedef feature_impl Feature; +typedef MAPNIK_DECL boost::shared_ptr feature_ptr; + } #endif // MAPNIK_FEATURE_HPP