diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-11-07 15:57:12 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-11-07 15:57:12 +0000 |
| commit | 77d3d8217a55e100a45fb65d489875c6a9b1b620 (patch) | |
| tree | 7daac66e4a99e73028529139409d4f9ff2eb58b7 /src/openjpeg_image.h | |
| parent | 4e15f606b7c268727b34603dabd1f2dbe368fbef (diff) | |
Add copy constructor for OpenJPEGImage.
Diffstat (limited to 'src/openjpeg_image.h')
| -rw-r--r-- | src/openjpeg_image.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/openjpeg_image.h b/src/openjpeg_image.h index 20391e2d..e789cd40 100644 --- a/src/openjpeg_image.h +++ b/src/openjpeg_image.h @@ -45,15 +45,16 @@ namespace dcp { /** @class OpenJPEGImage * @brief A wrapper of libopenjpeg's opj_image_t. */ -class OpenJPEGImage : public boost::noncopyable +class OpenJPEGImage { public: explicit OpenJPEGImage (opj_image_t *); + explicit OpenJPEGImage (OpenJPEGImage const & other); explicit OpenJPEGImage (Size); ~OpenJPEGImage (); int* data (int) const; - dcp::Size size () const; + Size size () const; int precision (int component) const; bool srgb () const; |
