diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-08-19 21:01:28 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-08-19 21:01:28 +0100 |
| commit | 9a2b45caa81d8fb056802dfe3c25f214e808ffdf (patch) | |
| tree | 1cead4781d2a8546c3ba8b8f936d18bf8e8a6403 /src/lib/content.cc | |
| parent | aa3565457977dabb658f41c71e14151473b91f07 (diff) | |
Use SafeStringStream instead of std::stringstream to try to fix random crashes on OS X.
Diffstat (limited to 'src/lib/content.cc')
| -rw-r--r-- | src/lib/content.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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() |
