aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar David Leverton <levertond@googlemail.com> 2007-09-23 18:06:17 +0000
committerAvatar David Leverton <levertond@googlemail.com> 2007-09-23 18:06:17 +0000
commit821dd6b5b697bb660a494c485e5f46bfe24554b5 (patch)
treeaf684a56de8791c7608f465ee197ad0ef6fabc8b
parent538756fb3236428ab50d027176e757c5dd2e3d1e (diff)
downloadpaludis-821dd6b5b697bb660a494c485e5f46bfe24554b5.tar.gz
paludis-821dd6b5b697bb660a494c485e5f46bfe24554b5.tar.xz
Don't call the environment before it has its vtable.
-rw-r--r--paludis/environments/paludis/paludis_config.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/environments/paludis/paludis_config.cc b/paludis/environments/paludis/paludis_config.cc
index 73db436..228628f 100644
--- a/paludis/environments/paludis/paludis_config.cc
+++ b/paludis/environments/paludis/paludis_config.cc
@@ -278,7 +278,7 @@ PaludisConfig::PaludisConfig(PaludisEnvironment * const e, const std::string & s
{
/* add virtuals repositories */
- if (DistributionData::get_instance()->distribution_from_string(e->default_distribution())->support_old_style_virtuals)
+ if (DistributionData::get_instance()->distribution_from_string(distribution())->support_old_style_virtuals)
{
tr1::shared_ptr<Map<std::string, std::string> > iv_keys(
new Map<std::string, std::string>);