diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-04-29 08:31:23 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-04-29 08:31:23 +0200 |
| commit | b249700e1da7dd6631a8b4440587f4093a2bdef1 (patch) | |
| tree | 71f88855e72b11f927d194f0676bac93845d26be /src/lib/image_proxy.h | |
| parent | 94695fc3214917ad7310af36270ce1e0b88cdfa3 (diff) | |
Remove use of boost::noncopyable.
Diffstat (limited to 'src/lib/image_proxy.h')
| -rw-r--r-- | src/lib/image_proxy.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/image_proxy.h b/src/lib/image_proxy.h index b279e6344..22946ed98 100644 --- a/src/lib/image_proxy.h +++ b/src/lib/image_proxy.h @@ -54,11 +54,15 @@ namespace cxml { * the TIFF data compressed until the decompressed image is needed. * At this point, the class decodes the TIFF to an Image. */ -class ImageProxy : public boost::noncopyable +class ImageProxy { public: + ImageProxy () {} virtual ~ImageProxy () {} + ImageProxy (ImageProxy const&) = delete; + ImageProxy& operator= (ImageProxy const&) = delete; + struct Result { Result (std::shared_ptr<Image> image_, int log2_scaling_) : image (image_) |
