diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-01-06 11:19:05 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-01-06 11:19:05 +0000 |
| commit | 568241745673e68031a72739a5e5a73ba3ee20a7 (patch) | |
| tree | 12257b4850b868d0355a64a1685e98b93438ed11 /src/picture_asset_writer.h | |
| parent | 839bc2d9d75f0d35a2c09d5e55e075e3ab1076b2 (diff) | |
const-correctness fix.
Diffstat (limited to 'src/picture_asset_writer.h')
| -rw-r--r-- | src/picture_asset_writer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/picture_asset_writer.h b/src/picture_asset_writer.h index 1ef519ba..f26ff2a0 100644 --- a/src/picture_asset_writer.h +++ b/src/picture_asset_writer.h @@ -77,12 +77,12 @@ struct FrameInfo class PictureAssetWriter : public AssetWriter { public: - virtual FrameInfo write (uint8_t *, int) = 0; + virtual FrameInfo write (uint8_t const *, int) = 0; virtual void fake_write (int) = 0; protected: template <class P, class Q> - friend void start (PictureAssetWriter *, boost::shared_ptr<P>, Standard, Q *, uint8_t *, int); + friend void start (PictureAssetWriter *, boost::shared_ptr<P>, Standard, Q *, uint8_t const *, int); PictureAssetWriter (PictureAsset *, boost::filesystem::path, Standard standard, bool); |
