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