aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/fake/fake_repository.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-02-04 01:23:03 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-02-04 01:23:03 +0000
commit3ef47f233d579b338cb5e757ee73a3c9382c87ed (patch)
tree208992cee404233edf4bc67c045feed3613d3f4b /paludis/repositories/fake/fake_repository.cc
parent6ef9fda358a0541b5a5f70011f70adcdc1e30134 (diff)
downloadpaludis-3ef47f233d579b338cb5e757ee73a3c9382c87ed.tar.gz
paludis-3ef47f233d579b338cb5e757ee73a3c9382c87ed.tar.xz
kc some more sr
Diffstat (limited to 'paludis/repositories/fake/fake_repository.cc')
-rw-r--r--paludis/repositories/fake/fake_repository.cc11
1 files changed, 6 insertions, 5 deletions
diff --git a/paludis/repositories/fake/fake_repository.cc b/paludis/repositories/fake/fake_repository.cc
index 477f7ebe0..28f3c6f5c 100644
--- a/paludis/repositories/fake/fake_repository.cc
+++ b/paludis/repositories/fake/fake_repository.cc
@@ -1,7 +1,7 @@
/* vim: set sw=4 sts=4 et foldmethod=syntax : */
/*
- * Copyright (c) 2005, 2006, 2007 Ciaran McCreesh
+ * Copyright (c) 2005, 2006, 2007, 2008 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
@@ -24,6 +24,7 @@
#include <paludis/util/make_shared_ptr.hh>
#include <paludis/util/sequence.hh>
#include <paludis/util/visitor-impl.hh>
+#include <paludis/util/kc.hh>
#include <paludis/distribution.hh>
#include <paludis/environment.hh>
#include <paludis/package_id.hh>
@@ -67,8 +68,8 @@ FakeRepository::FakeRepository(const Environment * const e, const RepositoryName
.mirrors_interface(this)
.environment_variable_interface(0)
.provides_interface(0)
- .virtuals_interface(DistributionData::get_instance()->distribution_from_string(
- e->default_distribution())->support_old_style_virtuals ? this : 0)
+ .virtuals_interface((*DistributionData::get_instance()->distribution_from_string(
+ e->default_distribution()))[k::support_old_style_virtuals()] ? this : 0)
.destination_interface(0)
.e_interface(0)
.make_virtuals_interface(0)
@@ -91,8 +92,8 @@ FakeRepository::FakeRepository(const FakeRepositoryParams & params) :
.mirrors_interface(this)
.environment_variable_interface(0)
.provides_interface(0)
- .virtuals_interface(DistributionData::get_instance()->distribution_from_string(
- params.environment->default_distribution())->support_old_style_virtuals ? this : 0)
+ .virtuals_interface((*DistributionData::get_instance()->distribution_from_string(
+ params.environment->default_distribution()))[k::support_old_style_virtuals()] ? this : 0)
.destination_interface(0)
.e_interface(0)
.make_virtuals_interface(0)