summaryrefslogtreecommitdiff
path: root/src/lib/raw_image_proxy.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-10-07 00:39:40 +0200
committerCarl Hetherington <cth@carlh.net>2022-10-18 20:25:57 +0200
commitfa669105ada581256fb442af281b49eea4c2e726 (patch)
tree7510e1f2bec03b82a5e7fe91e534cbb0f30e89a0 /src/lib/raw_image_proxy.h
parentbdbec5b501af2c020dd783eb8b0b8c18c34b6552 (diff)
Cleanup: some const-correctness.
Diffstat (limited to 'src/lib/raw_image_proxy.h')
-rw-r--r--src/lib/raw_image_proxy.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/raw_image_proxy.h b/src/lib/raw_image_proxy.h
index 1111b66c0..d5ae2457d 100644
--- a/src/lib/raw_image_proxy.h
+++ b/src/lib/raw_image_proxy.h
@@ -29,7 +29,7 @@
class RawImageProxy : public ImageProxy
{
public:
- explicit RawImageProxy (std::shared_ptr<Image>);
+ explicit RawImageProxy(std::shared_ptr<const Image>);
RawImageProxy (std::shared_ptr<cxml::Node> xml, std::shared_ptr<Socket> socket);
Result image (
@@ -43,7 +43,7 @@ public:
size_t memory_used () const override;
private:
- std::shared_ptr<Image> _image;
+ std::shared_ptr<const Image> _image;
};