From 8a789d060fb51481aad8af23dd52cf6c29ca2911 Mon Sep 17 00:00:00 2001
From: Houtan Bastani <houtan@dynare.org>
Date: Tue, 29 Oct 2019 10:49:07 +0100
Subject: [PATCH] aesthetic fix: for conformity to the rest of the code, prefer
 `const auto` to `auto const`

---
 src/ModFile.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/ModFile.cc b/src/ModFile.cc
index d17843de..eb283507 100644
--- a/src/ModFile.cc
+++ b/src/ModFile.cc
@@ -424,11 +424,11 @@ ModFile::transformPass(bool nostrict, bool stochastic, bool compute_xrefs, const
 
   // Get all equation tags associated with VARs and Trend Component Models
   set<string> eqtags;
-  for (auto const & it : trend_component_model_table.getEqTags())
+  for (const auto & it : trend_component_model_table.getEqTags())
     for (auto & it1 : it.second)
       eqtags.insert(it1);
 
-  for (auto const & it : var_model_table.getEqTags())
+  for (const auto & it : var_model_table.getEqTags())
     for (auto & it1 : it.second)
       eqtags.insert(it1);
 
-- 
GitLab