From: Martin Kronbichler Date: Fri, 15 May 2020 10:32:16 +0000 (+0200) Subject: Fix warning in step-70 X-Git-Tag: v9.3.0-rc1~1627^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4788000ea0ab2866b37b284bd2a2046f363aa77b;p=dealii.git Fix warning in step-70 --- diff --git a/examples/step-70/step-70.cc b/examples/step-70/step-70.cc index f5ca8c633f..a58d28eb70 100644 --- a/examples/step-70/step-70.cc +++ b/examples/step-70/step-70.cc @@ -677,7 +677,7 @@ namespace Step70 using map_type = std::map; using Converter = Patterns::Tools::Convert; - for (const auto pair : Converter::to_value(ids_and_cad_file_names)) + for (const auto &pair : Converter::to_value(ids_and_cad_file_names)) { const auto &manifold_id = pair.first; const auto &cad_file_name = pair.second;