From 8fd43fface7757bd0d7228ff0490a8c8ad074175 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 11 Feb 2016 11:46:13 +0000 Subject: Extract get_line_{file,stringstream} into standalone methods. --- src/util.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/util.h') diff --git a/src/util.h b/src/util.h index e77d62e..9d3edc2 100644 --- a/src/util.h +++ b/src/util.h @@ -17,11 +17,14 @@ */ +#include #include namespace sub { extern bool empty_or_white_space (std::string s); +extern boost::optional get_line_stringstream (std::stringstream* str); +extern boost::optional get_line_file (FILE* f); } -- cgit v1.2.3