aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/fake/fake_repository.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-10-21 19:19:57 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-10-21 22:01:52 +0100
commit576e0a19ba6bbf718d050f5743d687c3afc67641 (patch)
tree544032f388e6132acd7adb03271bfa488dcda75b /paludis/repositories/fake/fake_repository.cc
parentdd3736da2c72911ed8e7c3db6b45ae504d234af4 (diff)
downloadpaludis-576e0a19ba6bbf718d050f5743d687c3afc67641.tar.gz
paludis-576e0a19ba6bbf718d050f5743d687c3afc67641.tar.xz
Kill old ctor
Diffstat (limited to 'paludis/repositories/fake/fake_repository.cc')
-rw-r--r--paludis/repositories/fake/fake_repository.cc18
1 files changed, 0 insertions, 18 deletions
diff --git a/paludis/repositories/fake/fake_repository.cc b/paludis/repositories/fake/fake_repository.cc
index c2a7276e9..d412c3a7b 100644
--- a/paludis/repositories/fake/fake_repository.cc
+++ b/paludis/repositories/fake/fake_repository.cc
@@ -56,24 +56,6 @@ namespace paludis
};
}
-FakeRepository::FakeRepository(const Environment * const env, const RepositoryName & r) :
- PrivateImplementationPattern<FakeRepository>(new Implementation<FakeRepository>),
- FakeRepositoryBase(env, r, make_named_values<RepositoryCapabilities>(
- value_for<n::destination_interface>(static_cast<RepositoryDestinationInterface *>(0)),
- value_for<n::e_interface>(static_cast<RepositoryEInterface *>(0)),
- value_for<n::environment_variable_interface>(static_cast<RepositoryEnvironmentVariableInterface *>(0)),
- value_for<n::make_virtuals_interface>(static_cast<RepositoryMakeVirtualsInterface *>(0)),
- value_for<n::manifest_interface>(static_cast<RepositoryManifestInterface *>(0)),
- value_for<n::mirrors_interface>(this),
- value_for<n::provides_interface>(static_cast<RepositoryProvidesInterface *>(0)),
- value_for<n::virtuals_interface>((*DistributionData::get_instance()->distribution_from_string(
- env->distribution())).support_old_style_virtuals() ? this : 0)
- )),
- _imp(PrivateImplementationPattern<FakeRepository>::_imp)
-{
- add_metadata_key(_imp->format_key);
-}
-
FakeRepository::FakeRepository(const FakeRepositoryParams & params) :
PrivateImplementationPattern<FakeRepository>(new Implementation<FakeRepository>),
FakeRepositoryBase(params.environment(), params.name(), make_named_values<RepositoryCapabilities>(