Commit aa0f2e0d authored by Mark Olesen's avatar Mark Olesen
Browse files

STYLE: accept std::string for ISstream::getLine

parent fd54070c
......@@ -134,7 +134,7 @@ public:
inline int peek();
//- Raw, low-level getline into a string function.
inline ISstream& getLine(string& str);
inline ISstream& getLine(std::string& str);
//- Raw, low-level putback character function.
inline ISstream& putback(const char c);
......@@ -72,7 +72,7 @@ inline int Foam::ISstream::peek()
inline Foam::ISstream& Foam::ISstream::getLine(string& str)
inline Foam::ISstream& Foam::ISstream::getLine(std::string& str)
std::getline(is_, str);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment