summaryrefslogtreecommitdiff
path: root/test/audio_analysis_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-08-10 16:38:33 +0100
committerCarl Hetherington <cth@carlh.net>2016-08-12 09:13:51 +0100
commitb1dc9c3a2f7e55c9afc5bf2d5b465371b048e14f (patch)
tree9968238c6c0511f044e6fcdb4abcc08b5eb28f27 /test/audio_analysis_test.cc
parent4a0ae92e28d7d1f0dd648d1b620efc324fdef161 (diff)
Remove all use of stringstream in an attempt to fix
the suspected thread-unsafe crash bugs on OS X.
Diffstat (limited to 'test/audio_analysis_test.cc')
-rw-r--r--test/audio_analysis_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/audio_analysis_test.cc b/test/audio_analysis_test.cc
index 278ea06d9..c960884a1 100644
--- a/test/audio_analysis_test.cc
+++ b/test/audio_analysis_test.cc
@@ -82,7 +82,7 @@ BOOST_AUTO_TEST_CASE (audio_analysis_serialisation_test)
BOOST_CHECK (b.sample_peak ());
BOOST_CHECK_CLOSE (b.sample_peak().get(), peak, 1);
BOOST_CHECK (b.sample_peak_time ());
- BOOST_CHECK_EQUAL (b.sample_peak_time().get(), peak_time);
+ BOOST_CHECK_EQUAL (b.sample_peak_time().get().get(), peak_time.get());
}
static void