diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-07-21 11:57:33 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-07-21 11:57:33 +0100 |
| commit | 1eb9ba017214698de3fd41de5291604b4fe839c5 (patch) | |
| tree | 09225382a3c46b865dfa22d0d93c004485ab8e16 /src/cpl.cc | |
| parent | dd88a3738c91b6fa2574c3d2d778fb30a412555c (diff) | |
Trim some unused stream includes / usings.
Diffstat (limited to 'src/cpl.cc')
| -rw-r--r-- | src/cpl.cc | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -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; } |
