aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Marvin Schmidt <marv@exherbo.org> 2016-12-12 01:18:28 +0100
committerAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2016-12-14 08:33:21 -0800
commit84c6a86f31312cee294b81a37e6ab68e3621592b (patch)
tree991045a3bcf09a2c423eca24308e8d12ebaf4a45
parent39cd75ef000ae420a97f5cc08820c66719b51497 (diff)
downloadpaludis-84c6a86f31312cee294b81a37e6ab68e3621592b.tar.gz
paludis-84c6a86f31312cee294b81a37e6ab68e3621592b.tar.xz
Mark loop variable const (NFC)
Change-Id: Ib7fb03ca19f60114b54ec928d2134d205e693819
-rw-r--r--paludis/environments/paludis/paludis_environment.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/environments/paludis/paludis_environment.cc b/paludis/environments/paludis/paludis_environment.cc
index 4859643..bbb1628 100644
--- a/paludis/environments/paludis/paludis_environment.cc
+++ b/paludis/environments/paludis/paludis_environment.cc
@@ -505,7 +505,7 @@ PaludisEnvironment::populate_sets() const
sets_dirs.push_back(FSPath(LIBDIR) / "paludis" / "sets");
}
- for (auto & sets_dir : sets_dirs)
+ for (const auto & sets_dir : sets_dirs)
{
Context context("When looking in sets directory '" + stringify(sets_dir) + "':");