summaryrefslogtreecommitdiff
path: root/src/cpl.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-07-21 11:57:33 +0100
committerCarl Hetherington <cth@carlh.net>2016-07-21 11:57:33 +0100
commit1eb9ba017214698de3fd41de5291604b4fe839c5 (patch)
tree09225382a3c46b865dfa22d0d93c004485ab8e16 /src/cpl.cc
parentdd88a3738c91b6fa2574c3d2d778fb30a412555c (diff)
Trim some unused stream includes / usings.
Diffstat (limited to 'src/cpl.cc')
-rw-r--r--src/cpl.cc7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/cpl.cc b/src/cpl.cc
index 33ef647e..0abf864a 100644
--- a/src/cpl.cc
+++ b/src/cpl.cc
@@ -49,8 +49,6 @@
#include <boost/foreach.hpp>
using std::string;
-using std::stringstream;
-using std::ostream;
using std::list;
using std::pair;
using std::make_pair;
@@ -207,9 +205,8 @@ CPL::equals (shared_ptr<const Asset> other, EqualityOptions opt, NoteHandler not
}
if (_annotation_text != other_cpl->_annotation_text && !opt.cpl_annotation_texts_can_differ) {
- stringstream s;
- s << "CPL: annotation texts differ: " << _annotation_text << " vs " << other_cpl->_annotation_text << "\n";
- note (DCP_ERROR, s.str ());
+ string const s = "CPL: annotation texts differ: " + _annotation_text + " vs " + other_cpl->_annotation_text + "\n";
+ note (DCP_ERROR, s);
return false;
}