aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-11-07 09:05:00 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-11-07 01:15:27 +0000
commitf95f1ca82945f6fbdd392f920a8bbcb09013eab0 (patch)
tree791eb65e405095c2673b8e4320a6c5decb29e31f
parent40281ddc9fcadf6c196d435339c75934a3c876af (diff)
downloadpaludis-f95f1ca82945f6fbdd392f920a8bbcb09013eab0.tar.gz
paludis-f95f1ca82945f6fbdd392f920a8bbcb09013eab0.tar.xz
don't use these
-rw-r--r--paludis/repositories/e/e_repository_profile.cc11
-rw-r--r--paludis/repositories/e/e_repository_profile.hh14
-rw-r--r--paludis/repository-fwd.hh3
3 files changed, 0 insertions, 28 deletions
diff --git a/paludis/repositories/e/e_repository_profile.cc b/paludis/repositories/e/e_repository_profile.cc
index 0cc261e..b0b3af6 100644
--- a/paludis/repositories/e/e_repository_profile.cc
+++ b/paludis/repositories/e/e_repository_profile.cc
@@ -1098,14 +1098,3 @@ ERepositoryProfile::iuse_implicit() const
return _imp->iuse_implicit;
}
-const std::tr1::shared_ptr<ERepositoryProfile>
-RepositoryEInterfaceProfilesDescLineProfile::fetch() const
-{
- Lock lock(*mutex());
- if (! value())
- value().reset(new ERepositoryProfile(environment(), repository(), repository_name(), *location(),
- arch_var_if_special(), profiles_explicitly_set()));
-
- return value();
-}
-
diff --git a/paludis/repositories/e/e_repository_profile.hh b/paludis/repositories/e/e_repository_profile.hh
index 5880ae2..88d7a55 100644
--- a/paludis/repositories/e/e_repository_profile.hh
+++ b/paludis/repositories/e/e_repository_profile.hh
@@ -63,20 +63,6 @@ namespace paludis
class ERepositoryProfile;
- struct PALUDIS_VISIBLE RepositoryEInterfaceProfilesDescLineProfile
- {
- NamedValue<n::arch_var_if_special, std::string> arch_var_if_special;
- NamedValue<n::environment, const Environment *> environment;
- NamedValue<n::location, std::tr1::shared_ptr<const FSEntrySequence> > location;
- NamedValue<n::mutex, std::tr1::shared_ptr<Mutex> > mutex;
- NamedValue<n::profiles_explicitly_set, bool> profiles_explicitly_set;
- NamedValue<n::repository, const ERepository *> repository;
- NamedValue<n::repository_name, RepositoryName> repository_name;
- mutable NamedValue<n::value, std::tr1::shared_ptr<ERepositoryProfile> > value;
-
- const std::tr1::shared_ptr<ERepositoryProfile> fetch() const PALUDIS_ATTRIBUTE((warn_unused_result));
- };
-
/**
* Holds the profile data (but <em>not</em> the profiles/ top level data) for
* a ERepository instance.
diff --git a/paludis/repository-fwd.hh b/paludis/repository-fwd.hh
index fdd101b..0c4ef3d 100644
--- a/paludis/repository-fwd.hh
+++ b/paludis/repository-fwd.hh
@@ -47,9 +47,6 @@ namespace paludis
class RepositoryDestinationInterface;
class RepositoryManifestInterface;
- class RepositoryEInterfaceProfilesDescLine;
- class RepositoryEInterfaceProfilesDescLineProfile;
-
/**
* A set of destinations, used to decide whether a PackageID can be
* installed to a particular Repository.