From e245921978ee9c7c6e025c7416bdf808d789fa44 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 22 Jul 2016 09:26:54 +0100 Subject: Use locked_sstream. --- src/util.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/util.cc') diff --git a/src/util.cc b/src/util.cc index 66490c1..57f5e1c 100644 --- a/src/util.cc +++ b/src/util.cc @@ -18,13 +18,12 @@ */ #include "util.h" +#include #include -#include #include #include using std::string; -using std::stringstream; using std::getline; using boost::optional; @@ -44,7 +43,7 @@ sub::empty_or_white_space (string s) } optional -sub::get_line_stringstream (stringstream* str) +sub::get_line_stringstream (locked_stringstream* str) { if (!str->good ()) { return optional (); -- cgit v1.2.3