aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/fake/fake_repository.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-12-08 15:01:53 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-12-08 01:14:43 +0000
commit46d1a1133cec1cff2e7e7e74f3af26a1ca0a6711 (patch)
tree8c6d78224b296b3cc3f3e82af8c5d47f8d8f47c9 /paludis/repositories/fake/fake_repository.cc
parentae39fcba8a7354fe31e73f8ee6b6898356260524 (diff)
downloadpaludis-46d1a1133cec1cff2e7e7e74f3af26a1ca0a6711.tar.gz
paludis-46d1a1133cec1cff2e7e7e74f3af26a1ca0a6711.tar.xz
kill more sr
Diffstat (limited to 'paludis/repositories/fake/fake_repository.cc')
-rw-r--r--paludis/repositories/fake/fake_repository.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/paludis/repositories/fake/fake_repository.cc b/paludis/repositories/fake/fake_repository.cc
index b344dde7c..343366401 100644
--- a/paludis/repositories/fake/fake_repository.cc
+++ b/paludis/repositories/fake/fake_repository.cc
@@ -35,8 +35,6 @@
using namespace paludis;
-#include <paludis/repositories/fake/fake_repository-sr.cc>
-
namespace paludis
{
template<>
@@ -82,7 +80,7 @@ FakeRepository::FakeRepository(const Environment * const env, const RepositoryNa
FakeRepository::FakeRepository(const FakeRepositoryParams & params) :
PrivateImplementationPattern<FakeRepository>(new Implementation<FakeRepository>),
- FakeRepositoryBase(params.environment, params.name, make_named_values<RepositoryCapabilities>(
+ FakeRepositoryBase(params.environment(), params.name(), 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)),
@@ -95,7 +93,7 @@ FakeRepository::FakeRepository(const FakeRepositoryParams & params) :
value_for<n::sets_interface>(this),
value_for<n::syncable_interface>(static_cast<RepositorySyncableInterface *>(0)),
value_for<n::virtuals_interface>((*DistributionData::get_instance()->distribution_from_string(
- params.environment->distribution())).support_old_style_virtuals() ? this : 0)
+ params.environment()->distribution())).support_old_style_virtuals() ? this : 0)
)),
_imp(PrivateImplementationPattern<FakeRepository>::_imp)
{