diff options
Diffstat (limited to 'src/lib/dcp_content.cc')
| -rw-r--r-- | src/lib/dcp_content.cc | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/lib/dcp_content.cc b/src/lib/dcp_content.cc index 431492c7a..b41e31c0c 100644 --- a/src/lib/dcp_content.cc +++ b/src/lib/dcp_content.cc @@ -239,14 +239,13 @@ DCPContent::full_length () const string DCPContent::identifier () const { - locked_stringstream s; - s << Content::identifier() << "_" << video->identifier() << "_"; + string s = Content::identifier() + "_" + video->identifier() + "_"; if (subtitle) { - s << subtitle->identifier () << " "; + s += subtitle->identifier () + " "; } - s << (_reference_video ? "1" : "0") - << (_reference_subtitle ? "1" : "0"); - return s.str (); + + s += string (_reference_video ? "1" : "0") + string (_reference_subtitle ? "1" : "0"); + return s; } void |
