From 4792e81661e38357977908e4cb4f08439c2c6e51 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Wed, 17 Jul 2024 09:42:18 -0600 Subject: [PATCH] Do not convert a std::string to a std::string. --- source/distributed/tria.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/distributed/tria.cc b/source/distributed/tria.cc index 9063b2253c..ff93d2e6b6 100644 --- a/source/distributed/tria.cc +++ b/source/distributed/tria.cc @@ -2068,7 +2068,7 @@ namespace parallel if (this->my_subdomain == 0) { - std::string fname = std::string(filename) + ".info"; + std::string fname = filename + ".info"; std::ofstream f(fname); f << "version nproc n_attached_fixed_size_objs n_attached_variable_size_objs n_coarse_cells" << std::endl -- 2.39.5