diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-08-23 23:36:06 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-08-23 23:36:06 +0100 |
| commit | c2ad65492410eb40de5fea037a39c7a1a0693a43 (patch) | |
| tree | 6c6a9071cc42fda0524dde2aec7d17b8dc529f39 /src/lib/dcpomatic_time.h | |
| parent | 8c7a308c03e4b4196b4e2379a26d432b100ae2b1 (diff) | |
Fix some errant stringstreams.
Diffstat (limited to 'src/lib/dcpomatic_time.h')
| -rw-r--r-- | src/lib/dcpomatic_time.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/dcpomatic_time.h b/src/lib/dcpomatic_time.h index 4c7ea4ba5..55476d5b5 100644 --- a/src/lib/dcpomatic_time.h +++ b/src/lib/dcpomatic_time.h @@ -26,6 +26,7 @@ #include <iomanip> #include <stdint.h> #include "frame_rate_change.h" +#include "safe_stringstream.h" class dcpomatic_round_up_test; @@ -86,7 +87,7 @@ public: int f; split (r, h, m, s, f); - std::ostringstream o; + SafeStringStream o; o.width (2); o.fill ('0'); o << std::setw(2) << std::setfill('0') << h << ":" |
