From: Martin Kronbichler Date: Fri, 15 May 2020 10:32:16 +0000 (+0200) Subject: Fix warning in step-70 X-Git-Tag: v9.2.0-rc3~13^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F10229%2Fhead;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;