aboutsummaryrefslogtreecommitdiff
path: root/paludis/environments/paludis/bashable_conf.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/environments/paludis/bashable_conf.cc')
-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);
}