From 9a2b45caa81d8fb056802dfe3c25f214e808ffdf Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 19 Aug 2014 21:01:28 +0100 Subject: Use SafeStringStream instead of std::stringstream to try to fix random crashes on OS X. --- src/lib/content.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/content.cc') diff --git a/src/lib/content.cc b/src/lib/content.cc index 7966219ff..11a4b21cc 100644 --- a/src/lib/content.cc +++ b/src/lib/content.cc @@ -27,11 +27,11 @@ #include "ui_signaller.h" #include "exceptions.h" #include "film.h" +#include "safe_stringstream.h" #include "i18n.h" using std::string; -using std::stringstream; using std::set; using std::list; using std::cout; @@ -230,7 +230,7 @@ Content::trimmed (Time t) const string Content::identifier () const { - stringstream s; + SafeStringStream s; s << Content::digest() << "_" << position() -- cgit v1.2.3