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=refs%2Fpull%2F17280%2Fhead;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