summaryrefslogtreecommitdiff
path: root/src/reel_asset.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/reel_asset.cc
parentdd88a3738c91b6fa2574c3d2d778fb30a412555c (diff)
Trim some unused stream includes / usings.
Diffstat (limited to 'src/reel_asset.cc')
-rw-r--r--src/reel_asset.cc9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/reel_asset.cc b/src/reel_asset.cc
index c4432f21..6e1b024e 100644
--- a/src/reel_asset.cc
+++ b/src/reel_asset.cc
@@ -41,12 +41,10 @@
#include "compose.hpp"
#include <libcxml/cxml.h>
#include <libxml++/libxml++.h>
-#include <iostream>
using std::pair;
using std::cout;
using std::string;
-using std::stringstream;
using std::make_pair;
using boost::shared_ptr;
using namespace dcp;
@@ -122,13 +120,12 @@ bool
ReelAsset::equals (shared_ptr<const ReelAsset> other, EqualityOptions opt, NoteHandler note) const
{
if (_annotation_text != other->_annotation_text) {
- stringstream s;
- s << "Reel: annotation texts differ (" << _annotation_text << " vs " << other->_annotation_text << ")\n";
+ string const s = "Reel: annotation texts differ (" + _annotation_text + " vs " + other->_annotation_text + ")\n";
if (!opt.reel_annotation_texts_can_differ) {
- note (DCP_ERROR, s.str ());
+ note (DCP_ERROR, s);
return false;
} else {
- note (DCP_NOTE, s.str ());
+ note (DCP_NOTE, s);
}
}