diff --git a/include/old/imagecontainer.hxx b/include/vigra/imagecontainer.hxx index a6f0f80..636cc64 100644 --- a/include/old/imagecontainer.hxx +++ b/include/vigra/imagecontainer.hxx @@ -763,7 +763,7 @@ public: /** swap contents of this array with the contents of other (STL-Container interface) */ - void swap(const ImagePyramid &other) + void swap(ImagePyramid &other) { images_.swap(other.images_); std::swap(lowestLevel_, other.lowestLevel_);