summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-07-22 09:26:54 +0100
committerCarl Hetherington <cth@carlh.net>2016-07-22 09:26:54 +0100
commite245921978ee9c7c6e025c7416bdf808d789fa44 (patch)
tree17a6c18cc1d0294f7e87d7c6638d4cc23f81b7e5 /src/util.h
parentd7e0ebee4d94f10a8b80c1e61bf7b162c6a1ac12 (diff)
Use locked_sstream.
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/util.h b/src/util.h
index dea8023..1f6f248 100644
--- a/src/util.h
+++ b/src/util.h
@@ -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);
}