]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Specify std namespace 10541/head
authorPeter Munch <peterrmuench@gmail.com>
Wed, 17 Jun 2020 19:05:21 +0000 (21:05 +0200)
committerPeter Munch <peterrmuench@gmail.com>
Wed, 17 Jun 2020 19:05:21 +0000 (21:05 +0200)
include/deal.II/grid/grid_out.h

index c16398b2113015a77406a4d8cadf181f93599d50..6af4b566b7de376f929b3e72e7c11a0a45830c7f 100644 (file)
@@ -949,7 +949,7 @@ namespace GridOutFlags
  *
  * Usage is simple: either you use the direct form
  * @code
- *   ofstream output_file("some_filename");
+ *   std::ofstream output_file("some_filename");
  *   GridOut().write_gnuplot (tria, output_file);
  * @endcode
  * if you know which format you want to have, or if you want the format to be
@@ -957,8 +957,8 @@ namespace GridOutFlags
  * @code
  *   GridOut::OutputFormat grid_format =
  *     GridOut::parse_output_format(get_format_name_from_somewhere());
- *   ofstream output_file("some_filename"
- *                        + GridOut::default_suffix(output_format));
+ *   std::ofstream output_file("some_filename"
+ *                             + GridOut::default_suffix(output_format));
  *   GridOut().write (tria, output_file, output_format);
  * @endcode
  * The function <tt>get_output_format_names()</tt> provides a list of possible

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.