From f19bcafbf6797aa7ebd1bb8ca5dd97d8ae937a3c Mon Sep 17 00:00:00 2001 From: Artem Pavlenko Date: Fri, 10 Feb 2012 10:53:04 +0000 Subject: [PATCH] + make wkt_parser noncopyable --- include/mapnik/wkt/wkt_factory.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/mapnik/wkt/wkt_factory.hpp b/include/mapnik/wkt/wkt_factory.hpp index 2b459495c..b5e1cecce 100644 --- a/include/mapnik/wkt/wkt_factory.hpp +++ b/include/mapnik/wkt/wkt_factory.hpp @@ -26,6 +26,8 @@ // mapnik #include #include +// boost +#include #include #include // stl @@ -41,7 +43,7 @@ MAPNIK_DECL bool from_wkt(std::string const& wkt, boost::ptr_vector= 104700 -class wkt_parser +class wkt_parser : boost::noncopyable { typedef std::string::const_iterator iterator_type; public: