Missing swap in Image::swap.
authorCarl Hetherington <cth@carlh.net>
Sat, 9 Jul 2016 22:47:13 +0000 (23:47 +0100)
committerCarl Hetherington <cth@carlh.net>
Sat, 9 Jul 2016 22:47:13 +0000 (23:47 +0100)
src/lib/image.cc

index 71a3a5bccd9b174b5ffea94f7eecbac250265952..01dc5b7429098c4e98ae148ac55b710184f873f0 100644 (file)
@@ -759,6 +759,7 @@ Image::swap (Image & other)
        }
 
        std::swap (_aligned, other._aligned);
+       std::swap (_extra_pixels, other._extra_pixels);
 }
 
 /** Destroy a Image */