summaryrefslogtreecommitdiff
path: root/media-libs/vigra/files/vigra-1.11.0-gcc-7.patch
blob: 4aaba64ed5e976a162da9590207fc6ce58893dd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/include/vigra/imagecontainer.hxx b/include/vigra/imagecontainer.hxx
index a6f0f80..636cc64 100644
--- a/include/vigra/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<ImageType, Alloc> &other)
+    void swap(ImagePyramid<ImageType, Alloc> &other)
     {
         images_.swap(other.images_);
         std::swap(lowestLevel_, other.lowestLevel_);