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 /src/reel_asset.cc | |
| parent | 5eb63969c5b6f26ea820cfab116d4aecb6bd3390 (diff) | |
| parent | dc52dfc8e5a5e89005098bbec56331f9f0c6d3aa (diff) | |
Merge branch '1.0' of git.carlh.net:git/libdcp into 1.0
Diffstat (limited to 'src/reel_asset.cc')
| -rw-r--r-- | src/reel_asset.cc | 9 |
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); } } |
