aboutsummaryrefslogtreecommitdiff
path: root/paludis/environments/paludis
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-01-08 09:41:37 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-01-08 09:41:37 +0000
commit93b40cd8b07025c1d6aa5d489ce661c85c9c0219 (patch)
treeaefedf3dce28a564aad6f42c59c45fabbb1db861 /paludis/environments/paludis
parent592c4ad75c7bcbad15fa9afab9a4175822bcfe57 (diff)
downloadpaludis-93b40cd8b07025c1d6aa5d489ce661c85c9c0219.tar.gz
paludis-93b40cd8b07025c1d6aa5d489ce661c85c9c0219.tar.xz
Be explicit about crefs
Diffstat (limited to 'paludis/environments/paludis')
-rw-r--r--paludis/environments/paludis/bashable_conf.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/paludis/environments/paludis/bashable_conf.cc b/paludis/environments/paludis/bashable_conf.cc
index 4095e9ff2..53c69e04c 100644
--- a/paludis/environments/paludis/bashable_conf.cc
+++ b/paludis/environments/paludis/bashable_conf.cc
@@ -1,7 +1,7 @@
/* vim: set sw=4 sts=4 et foldmethod=syntax : */
/*
- * Copyright (c) 2007, 2008, 2009, 2010 Ciaran McCreesh
+ * Copyright (c) 2007, 2008, 2009, 2010, 2011 Ciaran McCreesh
*
* This file is part of the Paludis package manager. Paludis is free software;
* you can redistribute it and/or modify it under the terms of the GNU General
@@ -111,7 +111,7 @@ paludis::paludis_environment::make_bashable_kv_conf(const FSPath & f,
else
{
result = std::make_shared<KeyValueConfigFile>(f, o,
- std::bind(&defined_vars_to_kv_func, predefined_variables, std::placeholders::_1, std::placeholders::_2),
+ std::bind(&defined_vars_to_kv_func, std::cref(predefined_variables), std::placeholders::_1, std::placeholders::_2),
&KeyValueConfigFile::no_transformation);
}