From b91a2eb37bb4607e5c07b271bac53d90fc20d3ec Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Fri, 15 May 2020 12:32:16 +0200 Subject: [PATCH] Fix warning in step-70 --- examples/step-70/step-70.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5