diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-07-28 16:43:28 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-07-28 16:43:28 +0100 |
| commit | e4d5298e7a179d4103581cba05cbc516f94acf60 (patch) | |
| tree | 0b9c8cb6ad65917f6a3bf76f5a55ec648bdb0e42 /test/test.cc | |
| parent | 5eb63969c5b6f26ea820cfab116d4aecb6bd3390 (diff) | |
| parent | dc52dfc8e5a5e89005098bbec56331f9f0c6d3aa (diff) | |
Merge branch '1.0' of git.carlh.net:git/libdcp into 1.0
Diffstat (limited to 'test/test.cc')
| -rw-r--r-- | test/test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test.cc b/test/test.cc index 0e7ad511..c17f1506 100644 --- a/test/test.cc +++ b/test/test.cc @@ -21,13 +21,13 @@ #define BOOST_TEST_MODULE libdcp_test #include "util.h" #include "test.h" +#include <locked_sstream.h> #include <libxml++/libxml++.h> #include <boost/test/unit_test.hpp> #include <cstdio> using std::string; using std::min; -using std::stringstream; using std::list; boost::filesystem::path private_test; @@ -123,7 +123,7 @@ check_file (boost::filesystem::path ref, boost::filesystem::path check) uint8_t* ref_buffer = new uint8_t[buffer_size]; uint8_t* check_buffer = new uint8_t[buffer_size]; - stringstream error; + locked_stringstream error; error << "File " << check.string() << " differs from reference " << ref.string(); while (N) { |
