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 /test | |
| parent | be1862fefb1378c78bcc4bd6334694797755ea47 (diff) | |
Some const correctness.
Diffstat (limited to 'test')
| -rw-r--r-- | test/test.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/test.cc b/test/test.cc index 595d8fc93..496c91519 100644 --- a/test/test.cc +++ b/test/test.cc @@ -123,17 +123,17 @@ BOOST_AUTO_TEST_CASE (make_black_test) } } -shared_ptr<Image> trimmer_test_last_video; -shared_ptr<AudioBuffers> trimmer_test_last_audio; +shared_ptr<const Image> trimmer_test_last_video; +shared_ptr<const AudioBuffers> trimmer_test_last_audio; void -trimmer_test_video_helper (shared_ptr<Image> image, bool, shared_ptr<Subtitle>) +trimmer_test_video_helper (shared_ptr<const Image> image, bool, shared_ptr<Subtitle>) { trimmer_test_last_video = image; } void -trimmer_test_audio_helper (shared_ptr<AudioBuffers> audio) +trimmer_test_audio_helper (shared_ptr<const AudioBuffers> audio) { trimmer_test_last_audio = audio; } |
