aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-04-12 15:38:23 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-04-12 15:38:23 +0100
commit25e645d50d251cac16cd0d596b461b82779119f7 (patch)
treece7a156d51e6c51a073361ddbc9d8789fae38db4 /paludis/repositories/e
parent8a4c64f943a22c2da2175f9f86a44fb3107b80e4 (diff)
downloadpaludis-25e645d50d251cac16cd0d596b461b82779119f7.tar.gz
paludis-25e645d50d251cac16cd0d596b461b82779119f7.tar.xz
Kill is_default_destination
Diffstat (limited to 'paludis/repositories/e')
-rw-r--r--paludis/repositories/e/e_installed_repository.cc6
-rw-r--r--paludis/repositories/e/e_installed_repository.hh3
-rw-r--r--paludis/repositories/e/e_repository.cc6
-rw-r--r--paludis/repositories/e/e_repository.hh3
4 files changed, 0 insertions, 18 deletions
diff --git a/paludis/repositories/e/e_installed_repository.cc b/paludis/repositories/e/e_installed_repository.cc
index e12e1aa98..0883edeec 100644
--- a/paludis/repositories/e/e_installed_repository.cc
+++ b/paludis/repositories/e/e_installed_repository.cc
@@ -148,12 +148,6 @@ EInstalledRepository::is_suitable_destination_for(const std::shared_ptr<const Pa
}
bool
-EInstalledRepository::is_default_destination() const
-{
- return _imp->params.environment()->preferred_root_key()->parse_value() == installed_root_key()->parse_value();
-}
-
-bool
EInstalledRepository::want_pre_post_phases() const
{
return true;
diff --git a/paludis/repositories/e/e_installed_repository.hh b/paludis/repositories/e/e_installed_repository.hh
index 9aa18258a..43363dd5e 100644
--- a/paludis/repositories/e/e_installed_repository.hh
+++ b/paludis/repositories/e/e_installed_repository.hh
@@ -66,9 +66,6 @@ namespace paludis
virtual bool is_suitable_destination_for(const std::shared_ptr<const PackageID> &) const
PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual bool is_default_destination() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
-
virtual bool want_pre_post_phases() const
PALUDIS_ATTRIBUTE((warn_unused_result));
diff --git a/paludis/repositories/e/e_repository.cc b/paludis/repositories/e/e_repository.cc
index 34e5d68ab..1ce7ca87a 100644
--- a/paludis/repositories/e/e_repository.cc
+++ b/paludis/repositories/e/e_repository.cc
@@ -935,12 +935,6 @@ ERepository::is_suitable_destination_for(const std::shared_ptr<const PackageID>
}
bool
-ERepository::is_default_destination() const
-{
- return false;
-}
-
-bool
ERepository::want_pre_post_phases() const
{
return false;
diff --git a/paludis/repositories/e/e_repository.hh b/paludis/repositories/e/e_repository.hh
index 0a78c6941..411d52b96 100644
--- a/paludis/repositories/e/e_repository.hh
+++ b/paludis/repositories/e/e_repository.hh
@@ -91,9 +91,6 @@ namespace paludis
virtual bool is_suitable_destination_for(const std::shared_ptr<const PackageID> &) const
PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual bool is_default_destination() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
-
virtual bool want_pre_post_phases() const
PALUDIS_ATTRIBUTE((warn_unused_result));