summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-12-28 15:05:42 +0000
committerCarl Hetherington <cth@carlh.net>2014-12-28 15:05:42 +0000
commit1d3602b37934c3d0404e6a2fa9a5d3c5f6b70309 (patch)
tree6ee6f2af8ce1841e272c21d764f1ddc462792d62 /src
parent16340d64a8471969b27af4a7782995dd061927b9 (diff)
Remove Image:swap(); add some more tests.
Diffstat (limited to 'src')
-rw-r--r--src/image.cc6
-rw-r--r--src/image.h3
2 files changed, 0 insertions, 9 deletions
diff --git a/src/image.cc b/src/image.cc
index 15ff24dc..15f1e589 100644
--- a/src/image.cc
+++ b/src/image.cc
@@ -39,9 +39,3 @@ Image::Image (boost::shared_ptr<const Image> other)
{
}
-
-void
-Image::swap (Image& other)
-{
- std::swap (_size, other._size);
-}
diff --git a/src/image.h b/src/image.h
index 069534ea..d9109939 100644
--- a/src/image.h
+++ b/src/image.h
@@ -38,10 +38,7 @@ public:
}
protected:
- void swap (Image &);
-
Size _size;
-
};
}