diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-10-20 21:16:49 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-10-20 21:16:49 +0200 |
| commit | a8d449a0a35f205833b446aeae66564aa2464736 (patch) | |
| tree | bbc4b45b3e216c75d88131761215fdcd03d4a256 /test/sound_frame_test.cc | |
| parent | 219776f17374c273d4da176c262e8c7ec7b1329b (diff) | |
Remove ASDCPErrorSuspender.v1.10.34
I think it's not possible to do this thread-safely without quite noisy
changes to asdcplib: DefaultLogSink() refers a reference which can be
deleted by ASDCPErrorSuspender before it is used. DefaultLogSink()
could return a shared_ptr but there's a lot of callsites.
Diffstat (limited to 'test/sound_frame_test.cc')
| -rw-r--r-- | test/sound_frame_test.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/test/sound_frame_test.cc b/test/sound_frame_test.cc index a8060bd4..e406cb38 100644 --- a/test/sound_frame_test.cc +++ b/test/sound_frame_test.cc @@ -87,10 +87,7 @@ BOOST_AUTO_TEST_CASE (sound_frame_test) BOOST_AUTO_TEST_CASE (sound_frame_test2) { - { - dcp::ASDCPErrorSuspender sus; - BOOST_CHECK_THROW (dcp::SoundAsset("frobozz"), dcp::FileError); - } + BOOST_CHECK_THROW(dcp::SoundAsset("frobozz"), dcp::FileError); dcp::SoundAsset asset ( private_test / |
