diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-04-24 01:02:25 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-04-24 01:02:25 +0100 |
| commit | 8dd9ea3086b4934f2719648ffa6333c0d106ff36 (patch) | |
| tree | 15f334ab2d096d0a7f310c1427ff8a3107eae069 /src/lib/image.cc | |
| parent | be1862fefb1378c78bcc4bd6334694797755ea47 (diff) | |
Some const correctness.
Diffstat (limited to 'src/lib/image.cc')
| -rw-r--r-- | src/lib/image.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/image.cc b/src/lib/image.cc index 2355d22e5..9bcbb87ab 100644 --- a/src/lib/image.cc +++ b/src/lib/image.cc @@ -583,6 +583,12 @@ SimpleImage::aligned () const return _aligned; } +shared_ptr<Image> +SimpleImage::clone () const +{ + return shared_ptr<Image> (new SimpleImage (*this)); +} + FilterBufferImage::FilterBufferImage (AVPixelFormat p, AVFilterBufferRef* b) : Image (p) , _buffer (b) |
