diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-06-09 00:30:08 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-06-09 00:30:08 +0100 |
| commit | 3e7b4caf9be417bc1c80f1389d01e9dc98a25f21 (patch) | |
| tree | 714072185cfe525e716d752869748856e1b77f2d /src/lib/image_proxy.cc | |
| parent | a0a34108fbab331ed25c3f1291b8fcfadec6407e (diff) | |
| parent | 89b3ab9210af0888f7b4ce558869051a731d17e2 (diff) | |
Merge.
Diffstat (limited to 'src/lib/image_proxy.cc')
| -rw-r--r-- | src/lib/image_proxy.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/image_proxy.cc b/src/lib/image_proxy.cc index c803e6bd0..0b079725d 100644 --- a/src/lib/image_proxy.cc +++ b/src/lib/image_proxy.cc @@ -46,3 +46,9 @@ image_proxy_factory (shared_ptr<cxml::Node> xml, shared_ptr<Socket> socket) throw NetworkError (_("Unexpected image type received by server")); } + +bool +ImageProxy::same (shared_ptr<const ImageProxy> other) const +{ + return image()->digest() == other->image()->digest(); +} |
