diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-06-08 14:58:31 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-06-08 14:58:31 +0100 |
| commit | 9334a6e5ea4ba89c243b2e5d6bdb02db6aa012ff (patch) | |
| tree | 24769047ff8112e0bbddcdd3ab042f7bbbc11df9 /src/lib/image_proxy.h | |
| parent | 5ea436422329f6526d5fb04ada95fe9f46a26558 (diff) | |
Add basic ::same for RawImageProxy and J2KImageProxy.
Diffstat (limited to 'src/lib/image_proxy.h')
| -rw-r--r-- | src/lib/image_proxy.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/image_proxy.h b/src/lib/image_proxy.h index 39cbda27d..9367bc0a7 100644 --- a/src/lib/image_proxy.h +++ b/src/lib/image_proxy.h @@ -64,9 +64,7 @@ public: virtual void add_metadata (xmlpp::Node *) const = 0; virtual void send_binary (boost::shared_ptr<Socket>) const = 0; /** @return true if our image is definitely the same as another, false if it is probably not */ - virtual bool same (boost::shared_ptr<const ImageProxy>) const { - return false; - } + virtual bool same (boost::shared_ptr<const ImageProxy>) const; }; boost::shared_ptr<ImageProxy> image_proxy_factory (boost::shared_ptr<cxml::Node> xml, boost::shared_ptr<Socket> socket); |
