aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/fake/fake_repository.cc
diff options
context:
space:
mode:
authorAvatar David Leverton <levertond@googlemail.com> 2008-06-11 19:22:00 +0000
committerAvatar Fernando J. Pereda <ferdy@ferdyx.org> 2008-06-14 12:37:54 +0000
commitd7aa5b62d3fd45664426bf99c1e8f2523de919c3 (patch)
tree98be45e904c4934428dfe376de1c727c0a4a77ae /paludis/repositories/fake/fake_repository.cc
parent8ccc8b972f8c90485876adc4b5fd84d0eece3d16 (diff)
downloadpaludis-d7aa5b62d3fd45664426bf99c1e8f2523de919c3.tar.gz
paludis-d7aa5b62d3fd45664426bf99c1e8f2523de919c3.tar.xz
Environment::default_distribution -> Environment::distribution
Diffstat (limited to 'paludis/repositories/fake/fake_repository.cc')
-rw-r--r--paludis/repositories/fake/fake_repository.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/paludis/repositories/fake/fake_repository.cc b/paludis/repositories/fake/fake_repository.cc
index a2d8a207a..3e73df409 100644
--- a/paludis/repositories/fake/fake_repository.cc
+++ b/paludis/repositories/fake/fake_repository.cc
@@ -68,7 +68,7 @@ FakeRepository::FakeRepository(const Environment * const env, const RepositoryNa
(k::environment_variable_interface(), static_cast<RepositoryEnvironmentVariableInterface *>(0))
(k::provides_interface(), static_cast<RepositoryProvidesInterface *>(0))
(k::virtuals_interface(), (*DistributionData::get_instance()->distribution_from_string(
- env->default_distribution()))[k::support_old_style_virtuals()] ? this : 0)
+ env->distribution()))[k::support_old_style_virtuals()] ? this : 0)
(k::destination_interface(), static_cast<RepositoryDestinationInterface *>(0))
(k::e_interface(), static_cast<RepositoryEInterface *>(0))
(k::make_virtuals_interface(), static_cast<RepositoryMakeVirtualsInterface *>(0))
@@ -90,7 +90,7 @@ FakeRepository::FakeRepository(const FakeRepositoryParams & params) :
(k::environment_variable_interface(), static_cast<RepositoryEnvironmentVariableInterface *>(0))
(k::provides_interface(), static_cast<RepositoryProvidesInterface *>(0))
(k::virtuals_interface(), (*DistributionData::get_instance()->distribution_from_string(
- params.environment->default_distribution()))[k::support_old_style_virtuals()] ? this : 0)
+ params.environment->distribution()))[k::support_old_style_virtuals()] ? this : 0)
(k::destination_interface(), static_cast<RepositoryDestinationInterface *>(0))
(k::e_interface(), static_cast<RepositoryEInterface *>(0))
(k::make_virtuals_interface(), static_cast<RepositoryMakeVirtualsInterface *>(0))