]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Use usual ++var style. 10509/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Wed, 10 Jun 2020 22:11:14 +0000 (16:11 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Wed, 10 Jun 2020 22:11:14 +0000 (16:11 -0600)
source/base/timer.cc

index 95722a4eb61a592fc8e48a9a772a7be278f7dde7..8f1a875945878be19ba986148bc8ae43c695f7da 100644 (file)
@@ -434,7 +434,7 @@ TimerOutput::enter_subsection(const std::string &section_name)
 
   sections[section_name].timer.reset();
   sections[section_name].timer.start();
-  sections[section_name].n_calls++;
+  ++sections[section_name].n_calls;
 
   active_sections.push_back(section_name);
 }

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.