Delete copy constructor of Raster, we dont want to use that. Getting rid of AGG warnings.

This commit is contained in:
tamasmeszaros 2018-05-22 17:37:39 +02:00
parent 2eddacfb7e
commit 835e89f8c1
3 changed files with 11 additions and 13 deletions

View file

@ -48,7 +48,8 @@ public:
/// Constructor taking the resolution and the pixel dimension.
explicit Raster(const Resolution& r, const PixelDim& pd );
Raster();
Raster(const Raster& cpy);
Raster(const Raster& cpy) = delete;
Raster& operator=(const Raster& cpy) = delete;
Raster(Raster&& m);
~Raster();