summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-02-02 19:04:22 +0000
committerCarl Hetherington <cth@carlh.net>2015-02-02 19:04:22 +0000
commit1dc082f3295f64a9fd4a103078a1dbb5121a865d (patch)
treea904ae4cd7fe6284de1a1d4800470da9d172c3fb /src
parent923d5a17cdbe4c4ae947bbb45493be0792cfd54e (diff)
Make ::swap virtual.
Diffstat (limited to 'src')
-rw-r--r--src/image.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/image.h b/src/image.h
index 81458021..7033564f 100644
--- a/src/image.h
+++ b/src/image.h
@@ -38,7 +38,7 @@ public:
}
protected:
- void swap (Image& other);
+ virtual void swap (Image& other);
Size _size;
};