From: Wolfgang Bangerth Date: Wed, 17 Jul 2024 15:42:18 +0000 (-0600) Subject: Do not convert a std::string to a std::string. X-Git-Tag: v9.6.0-rc1~81^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4792e81661e38357977908e4cb4f08439c2c6e51;p=dealii.git Do not convert a std::string to a std::string. --- 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