From e8d7a2cec8eefe05352da650717391f76e3379d7 Mon Sep 17 00:00:00 2001 From: kanschat Date: Mon, 15 Apr 2013 15:04:32 +0000 Subject: [PATCH] enums are no classes git-svn-id: https://svn.dealii.org/trunk@29286 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/source/grid/grid_out.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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; -- 2.39.5