diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-03-12 16:24:46 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-03-12 16:24:46 +0000 |
| commit | 5038e68ad9eb66e007211c8f1b707612a0c01e29 (patch) | |
| tree | 70d5aa5d3f414defc3d3cd0b34de0725bf8760a9 /src/util.h | |
| parent | a8b629085c404d7a947ed242fbf64d8e0e91edcd (diff) | |
Remove sstream dependency.
Diffstat (limited to 'src/util.h')
| -rw-r--r-- | src/util.h | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -24,13 +24,11 @@ #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 (locked_stringstream* str); extern boost::optional<std::string> get_line_file (FILE* f); +extern boost::optional<std::string> get_line_string (std::string* s); } |
