aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/traditional_profile.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/repositories/e/traditional_profile.cc')
-rw-r--r--paludis/repositories/e/traditional_profile.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/paludis/repositories/e/traditional_profile.cc b/paludis/repositories/e/traditional_profile.cc
index 5b1eebbfd..51d5ca051 100644
--- a/paludis/repositories/e/traditional_profile.cc
+++ b/paludis/repositories/e/traditional_profile.cc
@@ -190,9 +190,9 @@ namespace paludis
Imp(const Environment * const e, const ERepository * const p,
const RepositoryName & name, const FSPathSequence & dirs,
const std::string & arch_var_if_special, const bool profiles_explicitly_set) :
- packages_file(p),
- virtuals_file(p),
- package_mask_file(p),
+ packages_file(std::bind(&ERepository::eapi_for_file, p, std::placeholders::_1)),
+ virtuals_file(std::bind(&ERepository::eapi_for_file, p, std::placeholders::_1)),
+ package_mask_file(std::bind(&ERepository::eapi_for_file, p, std::placeholders::_1)),
env(e),
repository(p),
profiles_with_parents(std::make_shared<FSPathSequence>()),