From 60d01bc8905290a4575ee218abd8cb2b547b5608 Mon Sep 17 00:00:00 2001 From: Ciaran McCreesh Date: Sat, 11 Jun 2011 23:56:13 +0100 Subject: Remove profiles virtuals support --- paludis/repositories/e/exheres_profile.cc | 6 ------ paludis/repositories/e/exheres_profile.hh | 3 --- paludis/repositories/e/profile.cc | 6 ------ paludis/repositories/e/profile.hh | 3 --- paludis/repositories/e/traditional_profile.cc | 11 ----------- paludis/repositories/e/traditional_profile.hh | 3 --- 6 files changed, 32 deletions(-) diff --git a/paludis/repositories/e/exheres_profile.cc b/paludis/repositories/e/exheres_profile.cc index 046967a59..2526c88d7 100644 --- a/paludis/repositories/e/exheres_profile.cc +++ b/paludis/repositories/e/exheres_profile.cc @@ -332,9 +332,3 @@ ExheresProfile::system_packages() const return _imp->system_packages; } -const std::shared_ptr > -ExheresProfile::virtuals() const -{ - return std::make_shared>(); -} - diff --git a/paludis/repositories/e/exheres_profile.hh b/paludis/repositories/e/exheres_profile.hh index c89631582..f2b0f7bc2 100644 --- a/paludis/repositories/e/exheres_profile.hh +++ b/paludis/repositories/e/exheres_profile.hh @@ -98,9 +98,6 @@ namespace paludis virtual const std::shared_ptr profile_masks(const std::shared_ptr &) const; virtual const std::shared_ptr system_packages() const; - - virtual const std::shared_ptr > - virtuals() const PALUDIS_ATTRIBUTE((warn_unused_result)); }; } } diff --git a/paludis/repositories/e/profile.cc b/paludis/repositories/e/profile.cc index 5d8faa1b6..c6fc7591c 100644 --- a/paludis/repositories/e/profile.cc +++ b/paludis/repositories/e/profile.cc @@ -24,8 +24,6 @@ #include #include -#include -#include #include using namespace paludis; @@ -60,9 +58,5 @@ ProfileFactory::create( throw ConfigurationError("Unrecognised profile '" + format + "'"); } -template class Map; -template class WrappedForwardIterator::ConstIteratorTag, - const std::pair >; - template class Singleton; diff --git a/paludis/repositories/e/profile.hh b/paludis/repositories/e/profile.hh index 0fdbefb86..8f2c60edf 100644 --- a/paludis/repositories/e/profile.hh +++ b/paludis/repositories/e/profile.hh @@ -98,9 +98,6 @@ namespace paludis virtual const std::shared_ptr profile_masks(const std::shared_ptr &) const = 0; virtual const std::shared_ptr system_packages() const = 0; - - virtual const std::shared_ptr > - virtuals() const PALUDIS_ATTRIBUTE((warn_unused_result)) = 0; }; class PALUDIS_VISIBLE ProfileFactory : diff --git a/paludis/repositories/e/traditional_profile.cc b/paludis/repositories/e/traditional_profile.cc index f3c794af4..ba9b8f939 100644 --- a/paludis/repositories/e/traditional_profile.cc +++ b/paludis/repositories/e/traditional_profile.cc @@ -107,7 +107,6 @@ namespace paludis const bool has_master_repositories; TraditionalProfileFile packages_file; - TraditionalProfileFile virtuals_file; TraditionalProfileFile package_mask_file; std::shared_ptr profiles_with_parents; @@ -116,8 +115,6 @@ namespace paludis std::shared_ptr system_packages; - std::shared_ptr > virtuals; - std::set > use; std::shared_ptr > use_expand; std::shared_ptr > use_expand_hidden; @@ -141,11 +138,9 @@ namespace paludis is_arch_flag(a), has_master_repositories(h), packages_file(eapi_for_file), - virtuals_file(eapi_for_file), package_mask_file(eapi_for_file), profiles_with_parents(std::make_shared()), system_packages(std::make_shared(std::make_shared())), - virtuals(std::make_shared>()), use_expand(std::make_shared>()), use_expand_hidden(std::make_shared>()), use_expand_unprefixed(std::make_shared>()), @@ -983,12 +978,6 @@ TraditionalProfile::system_packages() const return _imp->system_packages; } -const std::shared_ptr > -TraditionalProfile::virtuals() const -{ - return _imp->virtuals; -} - const std::shared_ptr TraditionalProfile::profile_masks(const std::shared_ptr & id) const { diff --git a/paludis/repositories/e/traditional_profile.hh b/paludis/repositories/e/traditional_profile.hh index 14a637ba3..b3d244672 100644 --- a/paludis/repositories/e/traditional_profile.hh +++ b/paludis/repositories/e/traditional_profile.hh @@ -97,9 +97,6 @@ namespace paludis virtual const std::shared_ptr profile_masks(const std::shared_ptr &) const; virtual const std::shared_ptr system_packages() const; - - virtual const std::shared_ptr > - virtuals() const PALUDIS_ATTRIBUTE((warn_unused_result)); }; } } -- cgit v1.2.3