Skip to content

Commit

Permalink
make raster non-copyable
Browse files Browse the repository at this point in the history
  • Loading branch information
Dane Springmeyer committed Oct 3, 2012
1 parent 24adb81 commit f4ead94
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion include/mapnik/raster.hpp
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -27,9 +27,13 @@
#include <mapnik/box2d.hpp> #include <mapnik/box2d.hpp>
#include <mapnik/image_data.hpp> #include <mapnik/image_data.hpp>


// boost
#include <boost/utility.hpp>

namespace mapnik { namespace mapnik {
struct raster class raster : private boost::noncopyable
{ {
public:
box2d<double> ext_; box2d<double> ext_;
image_data_32 data_; image_data_32 data_;
bool premultiplied_alpha_; bool premultiplied_alpha_;
Expand Down

0 comments on commit f4ead94

Please sign in to comment.