From a25f1ccb56a6a096511cd089042a7f1605eb1d27 Mon Sep 17 00:00:00 2001 From: artemp Date: Tue, 9 Apr 2013 11:38:50 +0100 Subject: [PATCH] + make image_reader non-copyable --- include/mapnik/image_reader.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/mapnik/image_reader.hpp b/include/mapnik/image_reader.hpp index bda9b735e..93c66abeb 100644 --- a/include/mapnik/image_reader.hpp +++ b/include/mapnik/image_reader.hpp @@ -26,7 +26,8 @@ // mapnik #include #include - +// boost +#include // stl #include #include @@ -49,7 +50,7 @@ public: } }; -struct MAPNIK_DECL image_reader +struct MAPNIK_DECL image_reader : private boost::noncopyable { virtual unsigned width() const=0; virtual unsigned height() const=0;