From: Guido Kanschat Date: Mon, 15 Apr 2013 15:04:32 +0000 (+0000) Subject: enums are no classes X-Git-Tag: v8.0.0~699 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab20edf3c20b0d7fe535487f1fd0607badd9e4b4;p=dealii.git enums are no classes git-svn-id: https://svn.dealii.org/trunk@29286 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/grid/grid_out.cc b/deal.II/source/grid/grid_out.cc index acf1e36c1f..b5098e9f85 100644 --- a/deal.II/source/grid/grid_out.cc +++ b/deal.II/source/grid/grid_out.cc @@ -1377,7 +1377,7 @@ void GridOut::write_svg(const Triangulation<2,2> &tria, std::ostream &out) const unsigned int width; unsigned int margin_in_percent = 0; - if (svg_flags.margin || svg_flags.background == GridOutFlags::Svg::Background::dealii) margin_in_percent = 8.5; + if (svg_flags.margin || svg_flags.background == GridOutFlags::Svg::dealii) margin_in_percent = 8.5; // initial font size for cell labels unsigned int cell_label_font_size; @@ -1386,10 +1386,10 @@ void GridOut::write_svg(const Triangulation<2,2> &tria, std::ostream &out) const unsigned int font_size = static_cast(.5 + (height/100.) * 2.); // get date and time - time_t time_stamp; - tm *now; - time_stamp = time(0); - now = localtime(&time_stamp); + // time_t time_stamp; + // tm *now; + // time_stamp = time(0); + // now = localtime(&time_stamp); // vectors and variables for the perspective view Point<3> camera_position;