diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-07-22 09:26:54 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-07-22 09:26:54 +0100 |
| commit | e245921978ee9c7c6e025c7416bdf808d789fa44 (patch) | |
| tree | 17a6c18cc1d0294f7e87d7c6638d4cc23f81b7e5 /src/util.h | |
| parent | d7e0ebee4d94f10a8b80c1e61bf7b162c6a1ac12 (diff) | |
Use locked_sstream.
Diffstat (limited to 'src/util.h')
| -rw-r--r-- | src/util.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -20,11 +20,13 @@ #include <boost/optional.hpp> #include <string> +class locked_stringstream; + namespace sub { extern bool empty_or_white_space (std::string s); extern void remove_unicode_bom (boost::optional<std::string>& line); -extern boost::optional<std::string> get_line_stringstream (std::stringstream* str); +extern boost::optional<std::string> get_line_stringstream (locked_stringstream* str); extern boost::optional<std::string> get_line_file (FILE* f); } |
