]> https://gitweb.dealii.org/ - dealii.git/commitdiff
small clang-tidy fix 9932/head
authorTimo Heister <timo.heister@gmail.com>
Tue, 21 Apr 2020 15:02:54 +0000 (11:02 -0400)
committerTimo Heister <timo.heister@gmail.com>
Tue, 21 Apr 2020 15:03:20 +0000 (11:03 -0400)
source/particles/data_out.cc

index 6a17c1b2be0f25b6767a27076b3d37d78f844dc8..97d72c4f2e5897e3e2ee3b97a8ed1abc68ed6446 100644 (file)
@@ -26,7 +26,7 @@ namespace Particles
     const Particles::ParticleHandler<dim, spacedim> &particles)
   {
     dataset_names.clear();
-    dataset_names.push_back("id");
+    dataset_names.emplace_back("id");
     patches.resize(particles.n_locally_owned_particles());
 
     auto particle = particles.begin();

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.