diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-04-14 21:38:26 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-04-14 21:38:26 +0200 |
| commit | 3b31d2d8a129ae6d8d267427bd6b5bc444b40b2a (patch) | |
| tree | 780947aefb2249a2614bf9e3d894b5256f015967 /src/lib/raw_image_proxy.h | |
| parent | b029cb06c4e0fca1fad9fecd78939efe5532fa9a (diff) | |
Use a struct rather than a std::pair as the return type from ImageProxy::image.
Diffstat (limited to 'src/lib/raw_image_proxy.h')
| -rw-r--r-- | src/lib/raw_image_proxy.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/raw_image_proxy.h b/src/lib/raw_image_proxy.h index dcd107a9e..a247d7610 100644 --- a/src/lib/raw_image_proxy.h +++ b/src/lib/raw_image_proxy.h @@ -29,7 +29,7 @@ public: explicit RawImageProxy (boost::shared_ptr<Image>); RawImageProxy (boost::shared_ptr<cxml::Node> xml, boost::shared_ptr<Socket> socket); - std::pair<boost::shared_ptr<Image>, int> image ( + Result image ( boost::optional<dcp::Size> size = boost::optional<dcp::Size> () ) const; |
