]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Prefer 'std::getline' to just 'getline'.
authorDavid Wells <wellsd2@rpi.edu>
Mon, 18 Jan 2016 22:23:32 +0000 (17:23 -0500)
committerDavid Wells <wellsd2@rpi.edu>
Tue, 19 Jan 2016 02:12:18 +0000 (21:12 -0500)
source/base/parameter_handler.cc

index df342b722bfe73fc9a959c9a0c0f339df8adef8f..97679b3f06f6523946e9f9c4737cdbc6e3d3831a 100644 (file)
@@ -1341,7 +1341,7 @@ bool ParameterHandler::read_input (std::istream &input,
   unsigned int current_line_n = 0;
   bool status = true;
 
-  while (getline (input, line))
+  while (std::getline (input, line))
     {
       ++current_line_n;
       status &= scan_line (line, filename, current_line_n);

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.