From ff006dd3f0dbf35402e3490a5ab52ccc982b86a3 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Wed, 13 Apr 2011 21:30:39 +0000 Subject: [PATCH] allow copy of mapnik::projection when proj_transform is created - closes #658 - TODO - consider using shared_ptr --- include/mapnik/proj_transform.hpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/mapnik/proj_transform.hpp b/include/mapnik/proj_transform.hpp index ce6920ea1..2bbafe578 100644 --- a/include/mapnik/proj_transform.hpp +++ b/include/mapnik/proj_transform.hpp @@ -27,6 +27,8 @@ // mapnik #include +#include + // boost #include @@ -47,8 +49,8 @@ public: mapnik::projection const& dest() const; private: - projection const& source_; - projection const& dest_; + projection const source_; + projection const dest_; bool is_source_longlat_; bool is_dest_longlat_; bool is_source_equal_dest_;