From 77adf6cec6f2fb078d0d95ad25e8f479856df091 Mon Sep 17 00:00:00 2001 From: Artem Pavlenko Date: Tue, 6 Dec 2011 16:25:30 +0000 Subject: [PATCH] + make geometry noncopyable + make ctor explicit --- include/mapnik/geometry.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/mapnik/geometry.hpp b/include/mapnik/geometry.hpp index b2583abe1..c07378cd5 100644 --- a/include/mapnik/geometry.hpp +++ b/include/mapnik/geometry.hpp @@ -41,7 +41,7 @@ enum eGeomType { }; template class Container=vertex_vector> -class geometry +class geometry : private::noncopyable { public: typedef T coord_type; @@ -54,7 +54,7 @@ private: mutable unsigned itr_; public: - geometry(eGeomType type) + explicit geometry(eGeomType type) : type_(type), itr_(0) {}