summaryrefslogtreecommitdiff
path: root/test/test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-07-22 09:20:58 +0100
committerCarl Hetherington <cth@carlh.net>2016-07-22 09:20:58 +0100
commit455475575bcfa30aa60a377235bfaf2fd7bc2da7 (patch)
tree691c69e3e25722a4fa6ffe632179243907be8240 /test/test.cc
parent1eb9ba017214698de3fd41de5291604b4fe839c5 (diff)
Use locked_sstream. Replace once parse_stream with parse_memory.
Diffstat (limited to 'test/test.cc')
-rw-r--r--test/test.cc4
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) {