aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/eapi.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-07-24 11:40:46 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-07-24 11:40:46 +0100
commit637a8d521b304dec1ec4db201d5d71d509efb6c1 (patch)
treefa4f7f5b0537c7f7361e4d76341b53d121c5d003 /paludis/repositories/e/eapi.cc
parentd3b974490cf7482b034f1a6779b65e411616f84c (diff)
downloadpaludis-637a8d521b304dec1ec4db201d5d71d509efb6c1.tar.gz
paludis-637a8d521b304dec1ec4db201d5d71d509efb6c1.tar.xz
Make use of Options init lists
Diffstat (limited to 'paludis/repositories/e/eapi.cc')
-rw-r--r--paludis/repositories/e/eapi.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/paludis/repositories/e/eapi.cc b/paludis/repositories/e/eapi.cc
index ce9d36c8d..a6aee2e54 100644
--- a/paludis/repositories/e/eapi.cc
+++ b/paludis/repositories/e/eapi.cc
@@ -349,11 +349,11 @@ namespace paludis
for (DirIterator d(getenv_with_default("PALUDIS_EAPIS_DIR", DATADIR "/paludis/eapis")), d_end ;
d != d_end ; ++d)
{
- if (! is_file_with_extension(*d, ".conf", IsFileWithOptions()))
+ if (! is_file_with_extension(*d, ".conf", { }))
continue;
Context cc("When loading EAPI file '" + stringify(*d) + "':");
- KeyValueConfigFile k(*d, KeyValueConfigFileOptions(),
+ KeyValueConfigFile k(*d, { },
std::bind(&predefined, stringify(d->dirname()), std::placeholders::_1, std::placeholders::_2),
&KeyValueConfigFile::no_transformation);