aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories
diff options
context:
space:
mode:
authorAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2016-08-05 23:51:36 -0700
committerAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2016-08-06 11:58:04 -0700
commit64ba7d5be854122e1a5ec2c17949634abebca250 (patch)
tree23a645693d6bfea50c5c7d2c32da5d194944609b /paludis/repositories
parent1ad5f5ce2025f1db0ea5dd1fcf72223430f143b4 (diff)
downloadpaludis-64ba7d5be854122e1a5ec2c17949634abebca250.tar.gz
paludis-64ba7d5be854122e1a5ec2c17949634abebca250.tar.xz
modernize: use default method synthesis
Convert a number of destructors to default synthesized functions. Try to inline a few instances into the header. It should be possible to inline all of them, however, gcc seems to emit a number of warnings. Furthermore, some of the destructors are pure-virtualed, but provide an implementation. Placing the definition into the header causes ODR violations.
Diffstat (limited to 'paludis/repositories')
-rw-r--r--paludis/repositories/e/aa_visitor.cc4
-rw-r--r--paludis/repositories/e/check_fetched_files_visitor.cc4
-rw-r--r--paludis/repositories/e/e_choices_key.cc4
-rw-r--r--paludis/repositories/e/e_installed_repository.cc4
-rw-r--r--paludis/repositories/e/e_installed_repository_id.cc4
-rw-r--r--paludis/repositories/e/e_key.cc32
-rw-r--r--paludis/repositories/e/e_keywords_key.cc4
-rw-r--r--paludis/repositories/e/e_mask.cc12
-rw-r--r--paludis/repositories/e/e_repository.cc8
-rw-r--r--paludis/repositories/e/e_repository_news.cc8
-rw-r--r--paludis/repositories/e/e_repository_sets.cc4
-rw-r--r--paludis/repositories/e/e_slot_key.cc4
-rw-r--r--paludis/repositories/e/e_string_set_key.cc4
-rw-r--r--paludis/repositories/e/e_stripper.cc4
-rw-r--r--paludis/repositories/e/eapi.cc8
-rw-r--r--paludis/repositories/e/eapi_phase.cc8
-rw-r--r--paludis/repositories/e/ebuild.cc8
-rw-r--r--paludis/repositories/e/ebuild_flat_metadata_cache.cc4
-rw-r--r--paludis/repositories/e/ebuild_id.cc4
-rw-r--r--paludis/repositories/e/eclass_mtimes.cc4
-rw-r--r--paludis/repositories/e/exheres_layout.cc4
-rw-r--r--paludis/repositories/e/exheres_mask_store.cc4
-rw-r--r--paludis/repositories/e/exheres_profile.cc4
-rw-r--r--paludis/repositories/e/exndbam_repository.cc4
-rw-r--r--paludis/repositories/e/fetch_visitor.cc4
-rw-r--r--paludis/repositories/e/glsa.cc8
-rw-r--r--paludis/repositories/e/info_metadata_key.cc8
-rw-r--r--paludis/repositories/e/layout.cc4
-rw-r--r--paludis/repositories/e/licence_groups.cc4
-rw-r--r--paludis/repositories/e/manifest2_reader.cc4
-rw-r--r--paludis/repositories/e/memoised_hashes.cc4
-rw-r--r--paludis/repositories/e/metadata_xml.cc4
-rw-r--r--paludis/repositories/e/myoptions_requirements_verifier.cc4
-rw-r--r--paludis/repositories/e/pretend_fetch_visitor.cc4
-rw-r--r--paludis/repositories/e/profile.cc4
-rw-r--r--paludis/repositories/e/source_uri_finder.cc4
-rw-r--r--paludis/repositories/e/traditional_layout.cc4
-rw-r--r--paludis/repositories/e/traditional_mask_file.cc4
-rw-r--r--paludis/repositories/e/traditional_mask_store.cc4
-rw-r--r--paludis/repositories/e/traditional_profile.cc4
-rw-r--r--paludis/repositories/e/use_desc.cc4
-rw-r--r--paludis/repositories/e/vdb_merger.cc4
-rw-r--r--paludis/repositories/e/vdb_repository.cc8
-rw-r--r--paludis/repositories/e/vdb_unmerger.cc4
-rw-r--r--paludis/repositories/fake/fake_installed_repository.cc4
-rw-r--r--paludis/repositories/fake/fake_package_id.cc24
-rw-r--r--paludis/repositories/fake/fake_repository.cc4
-rw-r--r--paludis/repositories/fake/fake_repository_base.cc4
-rw-r--r--paludis/repositories/repository/repository_id.cc4
-rw-r--r--paludis/repositories/repository/repository_repository.cc4
-rw-r--r--paludis/repositories/repository/repository_repository_store.cc4
-rw-r--r--paludis/repositories/unavailable/unavailable_package_id.cc4
-rw-r--r--paludis/repositories/unavailable/unavailable_repository.cc4
-rw-r--r--paludis/repositories/unavailable/unavailable_repository_dependencies_key.cc4
-rw-r--r--paludis/repositories/unavailable/unavailable_repository_file.cc4
-rw-r--r--paludis/repositories/unavailable/unavailable_repository_id.cc4
-rw-r--r--paludis/repositories/unavailable/unavailable_repository_store.cc4
-rw-r--r--paludis/repositories/unpackaged/installed_id.cc4
-rw-r--r--paludis/repositories/unpackaged/installed_repository.cc4
-rw-r--r--paludis/repositories/unpackaged/unpackaged_id.cc4
-rw-r--r--paludis/repositories/unpackaged/unpackaged_key.cc8
-rw-r--r--paludis/repositories/unpackaged/unpackaged_repository.cc4
-rw-r--r--paludis/repositories/unpackaged/unpackaged_stripper.cc4
-rw-r--r--paludis/repositories/unwritten/unwritten_id.cc4
-rw-r--r--paludis/repositories/unwritten/unwritten_repository.cc4
-rw-r--r--paludis/repositories/unwritten/unwritten_repository_file.cc4
-rw-r--r--paludis/repositories/unwritten/unwritten_repository_store.cc4
67 files changed, 90 insertions, 270 deletions
diff --git a/paludis/repositories/e/aa_visitor.cc b/paludis/repositories/e/aa_visitor.cc
index ba99fa9e4..95daa59e1 100644
--- a/paludis/repositories/e/aa_visitor.cc
+++ b/paludis/repositories/e/aa_visitor.cc
@@ -54,9 +54,7 @@ AAVisitor::AAVisitor() :
{
}
-AAVisitor::~AAVisitor()
-{
-}
+AAVisitor::~AAVisitor() = default;
void
AAVisitor::visit(const FetchableURISpecTree::NodeType<FetchableURIDepSpec>::Type & node)
diff --git a/paludis/repositories/e/check_fetched_files_visitor.cc b/paludis/repositories/e/check_fetched_files_visitor.cc
index bdf48e229..444f2d525 100644
--- a/paludis/repositories/e/check_fetched_files_visitor.cc
+++ b/paludis/repositories/e/check_fetched_files_visitor.cc
@@ -119,9 +119,7 @@ CheckFetchedFilesVisitor::CheckFetchedFilesVisitor(
{
}
-CheckFetchedFilesVisitor::~CheckFetchedFilesVisitor()
-{
-}
+CheckFetchedFilesVisitor::~CheckFetchedFilesVisitor() = default;
void
CheckFetchedFilesVisitor::visit(const FetchableURISpecTree::NodeType<ConditionalDepSpec>::Type & node)
diff --git a/paludis/repositories/e/e_choices_key.cc b/paludis/repositories/e/e_choices_key.cc
index e55570b1a..d02af2df9 100644
--- a/paludis/repositories/e/e_choices_key.cc
+++ b/paludis/repositories/e/e_choices_key.cc
@@ -97,9 +97,7 @@ EChoicesKey::EChoicesKey(
{
}
-EChoicesKey::~EChoicesKey()
-{
-}
+EChoicesKey::~EChoicesKey() = default;
namespace
{
diff --git a/paludis/repositories/e/e_installed_repository.cc b/paludis/repositories/e/e_installed_repository.cc
index 8be557d41..395985df2 100644
--- a/paludis/repositories/e/e_installed_repository.cc
+++ b/paludis/repositories/e/e_installed_repository.cc
@@ -80,9 +80,7 @@ EInstalledRepository::EInstalledRepository(const EInstalledRepositoryParams & p,
{
}
-EInstalledRepository::~EInstalledRepository()
-{
-}
+EInstalledRepository::~EInstalledRepository() = default;
bool
EInstalledRepository::some_ids_might_support_action(const SupportsActionTestBase & test) const
diff --git a/paludis/repositories/e/e_installed_repository_id.cc b/paludis/repositories/e/e_installed_repository_id.cc
index c8ef487a0..6fb73d36e 100644
--- a/paludis/repositories/e/e_installed_repository_id.cc
+++ b/paludis/repositories/e/e_installed_repository_id.cc
@@ -178,9 +178,7 @@ EInstalledRepositoryID::EInstalledRepositoryID(const QualifiedPackageName & q, c
{
}
-EInstalledRepositoryID::~EInstalledRepositoryID()
-{
-}
+EInstalledRepositoryID::~EInstalledRepositoryID() = default;
void
EInstalledRepositoryID::need_keys_added() const
diff --git a/paludis/repositories/e/e_key.cc b/paludis/repositories/e/e_key.cc
index 51bf0e3ba..aeb6a0788 100644
--- a/paludis/repositories/e/e_key.cc
+++ b/paludis/repositories/e/e_key.cc
@@ -96,9 +96,7 @@ EDependenciesKey::EDependenciesKey(
{
}
-EDependenciesKey::~EDependenciesKey()
-{
-}
+EDependenciesKey::~EDependenciesKey() = default;
const std::shared_ptr<const DependencySpecTree>
EDependenciesKey::parse_value() const
@@ -181,9 +179,7 @@ ELicenseKey::ELicenseKey(
{
}
-ELicenseKey::~ELicenseKey()
-{
-}
+ELicenseKey::~ELicenseKey() = default;
const std::shared_ptr<const LicenseSpecTree>
ELicenseKey::parse_value() const
@@ -251,9 +247,7 @@ EFetchableURIKey::EFetchableURIKey(const Environment * const e,
{
}
-EFetchableURIKey::~EFetchableURIKey()
-{
-}
+EFetchableURIKey::~EFetchableURIKey() = default;
const std::shared_ptr<const FetchableURISpecTree>
EFetchableURIKey::parse_value() const
@@ -361,9 +355,7 @@ ESimpleURIKey::ESimpleURIKey(const Environment * const e,
{
}
-ESimpleURIKey::~ESimpleURIKey()
-{
-}
+ESimpleURIKey::~ESimpleURIKey() = default;
const std::shared_ptr<const SimpleURISpecTree>
ESimpleURIKey::parse_value() const
@@ -435,9 +427,7 @@ EPlainTextSpecKey::EPlainTextSpecKey(const Environment * const e,
{
}
-EPlainTextSpecKey::~EPlainTextSpecKey()
-{
-}
+EPlainTextSpecKey::~EPlainTextSpecKey() = default;
const std::shared_ptr<const PlainTextSpecTree>
EPlainTextSpecKey::parse_value() const
@@ -513,9 +503,7 @@ EMyOptionsKey::EMyOptionsKey(
{
}
-EMyOptionsKey::~EMyOptionsKey()
-{
-}
+EMyOptionsKey::~EMyOptionsKey() = default;
const std::shared_ptr<const PlainTextSpecTree>
EMyOptionsKey::parse_value() const
@@ -592,9 +580,7 @@ ERequiredUseKey::ERequiredUseKey(
{
}
-ERequiredUseKey::~ERequiredUseKey()
-{
-}
+ERequiredUseKey::~ERequiredUseKey() = default;
const std::shared_ptr<const RequiredUseSpecTree>
ERequiredUseKey::parse_value() const
@@ -683,9 +669,7 @@ EMTimeKey::EMTimeKey(const std::string & r, const std::string & h, const FSPath
{
}
-EMTimeKey::~EMTimeKey()
-{
-}
+EMTimeKey::~EMTimeKey() = default;
Timestamp
EMTimeKey::parse_value() const
diff --git a/paludis/repositories/e/e_keywords_key.cc b/paludis/repositories/e/e_keywords_key.cc
index f77c06bb2..e0dda0c28 100644
--- a/paludis/repositories/e/e_keywords_key.cc
+++ b/paludis/repositories/e/e_keywords_key.cc
@@ -59,9 +59,7 @@ namespace
{
}
- ~EKeywordsKey() override
- {
- }
+ ~EKeywordsKey() override = default;
const std::shared_ptr<const Set<KeywordName> > parse_value() const override
{
diff --git a/paludis/repositories/e/e_mask.cc b/paludis/repositories/e/e_mask.cc
index 36499d315..cafee131a 100644
--- a/paludis/repositories/e/e_mask.cc
+++ b/paludis/repositories/e/e_mask.cc
@@ -53,9 +53,7 @@ EUnacceptedMask::EUnacceptedMask(const char k, const std::string & d, const std:
{
}
-EUnacceptedMask::~EUnacceptedMask()
-{
-}
+EUnacceptedMask::~EUnacceptedMask() = default;
char
EUnacceptedMask::key() const
@@ -98,9 +96,7 @@ EUnsupportedMask::EUnsupportedMask(const char k, const std::string & d, const st
{
}
-EUnsupportedMask::~EUnsupportedMask()
-{
-}
+EUnsupportedMask::~EUnsupportedMask() = default;
char
EUnsupportedMask::key() const
@@ -150,9 +146,7 @@ ERepositoryMask::ERepositoryMask(const char k, const std::string & d, const std:
{
}
-ERepositoryMask::~ERepositoryMask()
-{
-}
+ERepositoryMask::~ERepositoryMask() = default;
char
ERepositoryMask::key() const
diff --git a/paludis/repositories/e/e_repository.cc b/paludis/repositories/e/e_repository.cc
index b491af36c..95d2b440a 100644
--- a/paludis/repositories/e/e_repository.cc
+++ b/paludis/repositories/e/e_repository.cc
@@ -411,9 +411,7 @@ namespace paludis
sync_hosts->insert(i->first, extract_host_from_url(i->second));
}
- Imp<ERepository>::~Imp()
- {
- }
+ Imp<ERepository>::~Imp() = default;
void
Imp<ERepository>::need_profiles() const
@@ -543,9 +541,7 @@ ERepository::ERepository(const ERepositoryParams & p) :
_add_metadata_keys();
}
-ERepository::~ERepository()
-{
-}
+ERepository::~ERepository() = default;
void
ERepository::_add_metadata_keys() const
diff --git a/paludis/repositories/e/e_repository_news.cc b/paludis/repositories/e/e_repository_news.cc
index a90e65ea6..8a1689373 100644
--- a/paludis/repositories/e/e_repository_news.cc
+++ b/paludis/repositories/e/e_repository_news.cc
@@ -114,9 +114,7 @@ ERepositoryNews::ERepositoryNews(const Environment * const e, const ERepository
{
}
-ERepositoryNews::~ERepositoryNews()
-{
-}
+ERepositoryNews::~ERepositoryNews() = default;
void
ERepositoryNews::update_news() const
@@ -350,9 +348,7 @@ NewsFile::NewsFile(const FSPath & our_filename) :
throw NewsError(our_filename, "No Revision header specified");
}
-NewsFile::~NewsFile()
-{
-}
+NewsFile::~NewsFile() = default;
NewsFile::DisplayIfInstalledConstIterator
NewsFile::begin_display_if_installed() const
diff --git a/paludis/repositories/e/e_repository_sets.cc b/paludis/repositories/e/e_repository_sets.cc
index a7c332ecb..9c1867740 100644
--- a/paludis/repositories/e/e_repository_sets.cc
+++ b/paludis/repositories/e/e_repository_sets.cc
@@ -96,9 +96,7 @@ ERepositorySets::ERepositorySets(const Environment * const e, const ERepository
{
}
-ERepositorySets::~ERepositorySets()
-{
-}
+ERepositorySets::~ERepositorySets() = default;
const std::shared_ptr<const SetSpecTree>
ERepositorySets::package_set(const SetName & ss) const
diff --git a/paludis/repositories/e/e_slot_key.cc b/paludis/repositories/e/e_slot_key.cc
index 0db85e062..0b6affc06 100644
--- a/paludis/repositories/e/e_slot_key.cc
+++ b/paludis/repositories/e/e_slot_key.cc
@@ -51,9 +51,7 @@ namespace
{
}
- ~ESlotKey() override
- {
- }
+ ~ESlotKey() override = default;
const Slot parse_value() const override
{
diff --git a/paludis/repositories/e/e_string_set_key.cc b/paludis/repositories/e/e_string_set_key.cc
index b70090924..abbb37b6b 100644
--- a/paludis/repositories/e/e_string_set_key.cc
+++ b/paludis/repositories/e/e_string_set_key.cc
@@ -58,9 +58,7 @@ namespace
{
}
- ~EStringSetKey() override
- {
- }
+ ~EStringSetKey() override = default;
const std::shared_ptr<const Set<std::string> > parse_value() const override
{
diff --git a/paludis/repositories/e/e_stripper.cc b/paludis/repositories/e/e_stripper.cc
index 053e05962..d480d7d78 100644
--- a/paludis/repositories/e/e_stripper.cc
+++ b/paludis/repositories/e/e_stripper.cc
@@ -53,9 +53,7 @@ EStripper::EStripper(const EStripperOptions & options) :
{
}
-EStripper::~EStripper()
-{
-}
+EStripper::~EStripper() = default;
void
EStripper::on_enter_dir(const FSPath &)
diff --git a/paludis/repositories/e/eapi.cc b/paludis/repositories/e/eapi.cc
index d1ab40e18..96d1b51da 100644
--- a/paludis/repositories/e/eapi.cc
+++ b/paludis/repositories/e/eapi.cc
@@ -455,9 +455,7 @@ EAPIData::EAPIData() :
{
}
-EAPIData::~EAPIData()
-{
-}
+EAPIData::~EAPIData() = default;
std::shared_ptr<const EAPI>
EAPIData::eapi_from_string(const std::string & s) const
@@ -525,9 +523,7 @@ EAPILabels::EAPILabels(const EAPILabels & other) :
{
}
-EAPILabels::~EAPILabels()
-{
-}
+EAPILabels::~EAPILabels() = default;
const std::string
EAPILabels::class_for_label(const std::string & l) const
diff --git a/paludis/repositories/e/eapi_phase.cc b/paludis/repositories/e/eapi_phase.cc
index c6277dedd..8f1beb8f1 100644
--- a/paludis/repositories/e/eapi_phase.cc
+++ b/paludis/repositories/e/eapi_phase.cc
@@ -77,9 +77,7 @@ EAPIPhase::EAPIPhase(const std::string & s) :
std::copy(next(t), tokens.end(), std::back_inserter(_imp->commands));
}
-EAPIPhase::~EAPIPhase()
-{
-}
+EAPIPhase::~EAPIPhase() = default;
bool
EAPIPhase::option(const std::string & s) const
@@ -121,9 +119,7 @@ EAPIPhases::EAPIPhases(const std::string & s) :
_imp->phases.push_back(std::make_shared<EAPIPhase>(*t));
}
-EAPIPhases::~EAPIPhases()
-{
-}
+EAPIPhases::~EAPIPhases() = default;
EAPIPhases::ConstIterator
EAPIPhases::begin_phases() const
diff --git a/paludis/repositories/e/ebuild.cc b/paludis/repositories/e/ebuild.cc
index 33266e3d8..421e27771 100644
--- a/paludis/repositories/e/ebuild.cc
+++ b/paludis/repositories/e/ebuild.cc
@@ -74,9 +74,7 @@ EbuildCommand::EbuildCommand(const EbuildCommandParams & p) :
{
}
-EbuildCommand::~EbuildCommand()
-{
-}
+EbuildCommand::~EbuildCommand() = default;
bool
EbuildCommand::success()
@@ -383,9 +381,7 @@ EbuildMetadataCommand::EbuildMetadataCommand(const EbuildCommandParams & p) :
{
}
-EbuildMetadataCommand::~EbuildMetadataCommand()
-{
-}
+EbuildMetadataCommand::~EbuildMetadataCommand() = default;
std::string
EbuildMetadataCommand::commands() const
diff --git a/paludis/repositories/e/ebuild_flat_metadata_cache.cc b/paludis/repositories/e/ebuild_flat_metadata_cache.cc
index 57b9baf2c..192dfc8d3 100644
--- a/paludis/repositories/e/ebuild_flat_metadata_cache.cc
+++ b/paludis/repositories/e/ebuild_flat_metadata_cache.cc
@@ -310,9 +310,7 @@ EbuildFlatMetadataCache::EbuildFlatMetadataCache(const Environment * const v, co
{
}
-EbuildFlatMetadataCache::~EbuildFlatMetadataCache()
-{
-}
+EbuildFlatMetadataCache::~EbuildFlatMetadataCache() = default;
bool
EbuildFlatMetadataCache::load(const std::shared_ptr<const EbuildID> & id, const bool silent_on_stale)
diff --git a/paludis/repositories/e/ebuild_id.cc b/paludis/repositories/e/ebuild_id.cc
index 42582cb48..cc1262f53 100644
--- a/paludis/repositories/e/ebuild_id.cc
+++ b/paludis/repositories/e/ebuild_id.cc
@@ -221,9 +221,7 @@ EbuildID::EbuildID(const QualifiedPackageName & q, const VersionSpec & v,
{
}
-EbuildID::~EbuildID()
-{
-}
+EbuildID::~EbuildID() = default;
void
EbuildID::need_non_xml_keys_added() const
diff --git a/paludis/repositories/e/eclass_mtimes.cc b/paludis/repositories/e/eclass_mtimes.cc
index 6955171d1..854889de3 100644
--- a/paludis/repositories/e/eclass_mtimes.cc
+++ b/paludis/repositories/e/eclass_mtimes.cc
@@ -92,9 +92,7 @@ EclassMtimes::EclassMtimes(const ERepository * r, const std::shared_ptr<const FS
{
}
-EclassMtimes::~EclassMtimes()
-{
-}
+EclassMtimes::~EclassMtimes() = default;
const std::pair<FSPath, FSStat> *
EclassMtimes::eclass(const std::string & e) const
diff --git a/paludis/repositories/e/exheres_layout.cc b/paludis/repositories/e/exheres_layout.cc
index 502301fc3..882d04b97 100644
--- a/paludis/repositories/e/exheres_layout.cc
+++ b/paludis/repositories/e/exheres_layout.cc
@@ -175,9 +175,7 @@ ExheresLayout::ExheresLayout(const Environment * const e, const ERepository * co
}
}
-ExheresLayout::~ExheresLayout()
-{
-}
+ExheresLayout::~ExheresLayout() = default;
FSPath
ExheresLayout::categories_file() const
diff --git a/paludis/repositories/e/exheres_mask_store.cc b/paludis/repositories/e/exheres_mask_store.cc
index 6b2b70db9..0af5e9068 100644
--- a/paludis/repositories/e/exheres_mask_store.cc
+++ b/paludis/repositories/e/exheres_mask_store.cc
@@ -79,9 +79,7 @@ ExheresMaskStore::ExheresMaskStore(
_populate();
}
-ExheresMaskStore::~ExheresMaskStore()
-{
-}
+ExheresMaskStore::~ExheresMaskStore() = default;
namespace
{
diff --git a/paludis/repositories/e/exheres_profile.cc b/paludis/repositories/e/exheres_profile.cc
index 51ae4c019..2dce5d97f 100644
--- a/paludis/repositories/e/exheres_profile.cc
+++ b/paludis/repositories/e/exheres_profile.cc
@@ -158,9 +158,7 @@ ExheresProfile::ExheresProfile(
_imp->use_expand_no_describe->insert(stringify(suboption));
}
-ExheresProfile::~ExheresProfile()
-{
-}
+ExheresProfile::~ExheresProfile() = default;
void
ExheresProfile::_load_dir(const FSPath & f)
diff --git a/paludis/repositories/e/exndbam_repository.cc b/paludis/repositories/e/exndbam_repository.cc
index 54e5bee07..88bbfdf82 100644
--- a/paludis/repositories/e/exndbam_repository.cc
+++ b/paludis/repositories/e/exndbam_repository.cc
@@ -120,9 +120,7 @@ ExndbamRepository::ExndbamRepository(const RepositoryName & n, const ExndbamRepo
_add_metadata_keys();
}
-ExndbamRepository::~ExndbamRepository()
-{
-}
+ExndbamRepository::~ExndbamRepository() = default;
void
ExndbamRepository::_add_metadata_keys() const
diff --git a/paludis/repositories/e/fetch_visitor.cc b/paludis/repositories/e/fetch_visitor.cc
index b3d3d2b3d..83f27aa92 100644
--- a/paludis/repositories/e/fetch_visitor.cc
+++ b/paludis/repositories/e/fetch_visitor.cc
@@ -113,9 +113,7 @@ FetchVisitor::FetchVisitor(
{
}
-FetchVisitor::~FetchVisitor()
-{
-}
+FetchVisitor::~FetchVisitor() = default;
void
FetchVisitor::visit(const FetchableURISpecTree::NodeType<ConditionalDepSpec>::Type & node)
diff --git a/paludis/repositories/e/glsa.cc b/paludis/repositories/e/glsa.cc
index 62ad2a2f7..8db372c97 100644
--- a/paludis/repositories/e/glsa.cc
+++ b/paludis/repositories/e/glsa.cc
@@ -83,9 +83,7 @@ GLSAPackage::GLSAPackage(const QualifiedPackageName & n) :
{
}
-GLSAPackage::~GLSAPackage()
-{
-}
+GLSAPackage::~GLSAPackage() = default;
GLSAPackage::ArchsConstIterator
GLSAPackage::begin_archs() const
@@ -152,9 +150,7 @@ GLSA::GLSA() :
{
}
-GLSA::~GLSA()
-{
-}
+GLSA::~GLSA() = default;
GLSA::PackagesConstIterator
GLSA::begin_packages() const
diff --git a/paludis/repositories/e/info_metadata_key.cc b/paludis/repositories/e/info_metadata_key.cc
index 8a8fa83ee..e06d43e1b 100644
--- a/paludis/repositories/e/info_metadata_key.cc
+++ b/paludis/repositories/e/info_metadata_key.cc
@@ -93,9 +93,7 @@ InfoVarsMetadataKey::InfoVarsMetadataKey(const std::shared_ptr<const FSPathSeque
{
}
-InfoVarsMetadataKey::~InfoVarsMetadataKey()
-{
-}
+InfoVarsMetadataKey::~InfoVarsMetadataKey() = default;
const std::shared_ptr<const Set<std::string> >
InfoVarsMetadataKey::parse_value() const
@@ -148,9 +146,7 @@ InfoPkgsMetadataKey::InfoPkgsMetadataKey(const Environment * const e,
{
}
-InfoPkgsMetadataKey::~InfoPkgsMetadataKey()
-{
-}
+InfoPkgsMetadataKey::~InfoPkgsMetadataKey() = default;
void
InfoPkgsMetadataKey::need_keys_added() const
diff --git a/paludis/repositories/e/layout.cc b/paludis/repositories/e/layout.cc
index d53e08a08..8415dd454 100644
--- a/paludis/repositories/e/layout.cc
+++ b/paludis/repositories/e/layout.cc
@@ -34,9 +34,7 @@ Layout::Layout(const std::shared_ptr<const FSPathSequence> & l) :
{
}
-Layout::~Layout()
-{
-}
+Layout::~Layout() = default;
const std::shared_ptr<const FSPathSequence>
Layout::master_repositories_locations() const
diff --git a/paludis/repositories/e/licence_groups.cc b/paludis/repositories/e/licence_groups.cc
index 609a2f16f..aafb6bc62 100644
--- a/paludis/repositories/e/licence_groups.cc
+++ b/paludis/repositories/e/licence_groups.cc
@@ -47,9 +47,7 @@ LicenceGroups::LicenceGroups() :
{
}
-LicenceGroups::~LicenceGroups()
-{
-}
+LicenceGroups::~LicenceGroups() = default;
void
LicenceGroups::add(const FSPath & p)
diff --git a/paludis/repositories/e/manifest2_reader.cc b/paludis/repositories/e/manifest2_reader.cc
index 96a33832d..e3080897f 100644
--- a/paludis/repositories/e/manifest2_reader.cc
+++ b/paludis/repositories/e/manifest2_reader.cc
@@ -128,9 +128,7 @@ Manifest2Reader::Manifest2Reader(const FSPath & f) :
}
}
-Manifest2Reader::~Manifest2Reader()
-{
-}
+Manifest2Reader::~Manifest2Reader() = default;
Manifest2Reader::ConstIterator
Manifest2Reader::begin() const
diff --git a/paludis/repositories/e/memoised_hashes.cc b/paludis/repositories/e/memoised_hashes.cc
index 290790856..f1bace05d 100644
--- a/paludis/repositories/e/memoised_hashes.cc
+++ b/paludis/repositories/e/memoised_hashes.cc
@@ -53,9 +53,7 @@ MemoisedHashes::MemoisedHashes() :
{
}
-MemoisedHashes::~MemoisedHashes()
-{
-}
+MemoisedHashes::~MemoisedHashes() = default;
const std::string
MemoisedHashes::get(const std::string & algo, const FSPath & file, SafeIFStream & stream) const
diff --git a/paludis/repositories/e/metadata_xml.cc b/paludis/repositories/e/metadata_xml.cc
index 216ab0a35..607e338fd 100644
--- a/paludis/repositories/e/metadata_xml.cc
+++ b/paludis/repositories/e/metadata_xml.cc
@@ -50,9 +50,7 @@ MetadataXMLPool::MetadataXMLPool() :
{
}
-MetadataXMLPool::~MetadataXMLPool()
-{
-}
+MetadataXMLPool::~MetadataXMLPool() = default;
const std::shared_ptr<const MetadataXML>
MetadataXMLPool::metadata_if_exists(const FSPath & f) const
diff --git a/paludis/repositories/e/myoptions_requirements_verifier.cc b/paludis/repositories/e/myoptions_requirements_verifier.cc
index 7abddcfc2..f5764055b 100644
--- a/paludis/repositories/e/myoptions_requirements_verifier.cc
+++ b/paludis/repositories/e/myoptions_requirements_verifier.cc
@@ -73,9 +73,7 @@ MyOptionsRequirementsVerifier::MyOptionsRequirementsVerifier(
{
}
-MyOptionsRequirementsVerifier::~MyOptionsRequirementsVerifier()
-{
-}
+MyOptionsRequirementsVerifier::~MyOptionsRequirementsVerifier() = default;
const std::shared_ptr<const Sequence<std::string> >
MyOptionsRequirementsVerifier::unmet_requirements() const
diff --git a/paludis/repositories/e/pretend_fetch_visitor.cc b/paludis/repositories/e/pretend_fetch_visitor.cc
index b556733f7..d217eee3a 100644
--- a/paludis/repositories/e/pretend_fetch_visitor.cc
+++ b/paludis/repositories/e/pretend_fetch_visitor.cc
@@ -91,9 +91,7 @@ PretendFetchVisitor::PretendFetchVisitor(
{
}
-PretendFetchVisitor::~PretendFetchVisitor()
-{
-}
+PretendFetchVisitor::~PretendFetchVisitor() = default;
void
PretendFetchVisitor::visit(const FetchableURISpecTree::NodeType<ConditionalDepSpec>::Type & node)
diff --git a/paludis/repositories/e/profile.cc b/paludis/repositories/e/profile.cc
index a80945aa5..8dad550de 100644
--- a/paludis/repositories/e/profile.cc
+++ b/paludis/repositories/e/profile.cc
@@ -29,9 +29,7 @@
using namespace paludis;
using namespace paludis::erepository;
-Profile::~Profile()
-{
-}
+Profile::~Profile() = default;
ProfileFactory::ProfileFactory()
{
diff --git a/paludis/repositories/e/source_uri_finder.cc b/paludis/repositories/e/source_uri_finder.cc
index 7dfc568b8..3aee1d90b 100644
--- a/paludis/repositories/e/source_uri_finder.cc
+++ b/paludis/repositories/e/source_uri_finder.cc
@@ -75,9 +75,7 @@ SourceURIFinder::SourceURIFinder(const Environment * const e, const Repository *
{
}
-SourceURIFinder::~SourceURIFinder()
-{
-}
+SourceURIFinder::~SourceURIFinder() = default;
SourceURIFinder::ConstIterator
SourceURIFinder::begin() const
diff --git a/paludis/repositories/e/traditional_layout.cc b/paludis/repositories/e/traditional_layout.cc
index 33b78a06e..10c2e4d18 100644
--- a/paludis/repositories/e/traditional_layout.cc
+++ b/paludis/repositories/e/traditional_layout.cc
@@ -173,9 +173,7 @@ TraditionalLayout::TraditionalLayout(
}
}
-TraditionalLayout::~TraditionalLayout()
-{
-}
+TraditionalLayout::~TraditionalLayout() = default;
FSPath
TraditionalLayout::categories_file() const
diff --git a/paludis/repositories/e/traditional_mask_file.cc b/paludis/repositories/e/traditional_mask_file.cc
index 7c8e269b0..ac316f2ee 100644
--- a/paludis/repositories/e/traditional_mask_file.cc
+++ b/paludis/repositories/e/traditional_mask_file.cc
@@ -133,9 +133,7 @@ TraditionalMaskFile::end() const
return ConstIterator(_imp->lines.end());
}
-TraditionalMaskFile::~TraditionalMaskFile()
-{
-}
+TraditionalMaskFile::~TraditionalMaskFile() = default;
namespace paludis
{
diff --git a/paludis/repositories/e/traditional_mask_store.cc b/paludis/repositories/e/traditional_mask_store.cc
index 66d72c207..b6394af82 100644
--- a/paludis/repositories/e/traditional_mask_store.cc
+++ b/paludis/repositories/e/traditional_mask_store.cc
@@ -73,9 +73,7 @@ TraditionalMaskStore::TraditionalMaskStore(
_populate();
}
-TraditionalMaskStore::~TraditionalMaskStore()
-{
-}
+TraditionalMaskStore::~TraditionalMaskStore() = default;
void
TraditionalMaskStore::_populate()
diff --git a/paludis/repositories/e/traditional_profile.cc b/paludis/repositories/e/traditional_profile.cc
index 46e4d4d25..f5a502772 100644
--- a/paludis/repositories/e/traditional_profile.cc
+++ b/paludis/repositories/e/traditional_profile.cc
@@ -790,9 +790,7 @@ TraditionalProfile::TraditionalProfile(
handle_profile_arch_var(_imp, arch_var_if_special);
}
-TraditionalProfile::~TraditionalProfile()
-{
-}
+TraditionalProfile::~TraditionalProfile() = default;
std::shared_ptr<const FSPathSequence>
TraditionalProfile::profiles_with_parents() const
diff --git a/paludis/repositories/e/use_desc.cc b/paludis/repositories/e/use_desc.cc
index f6e283077..7e219ac5f 100644
--- a/paludis/repositories/e/use_desc.cc
+++ b/paludis/repositories/e/use_desc.cc
@@ -84,9 +84,7 @@ UseDesc::UseDesc(const std::shared_ptr<const UseDescFileInfoSequence> & f) :
{
}
-UseDesc::~UseDesc()
-{
-}
+UseDesc::~UseDesc() = default;
const std::string
UseDesc::describe(
diff --git a/paludis/repositories/e/vdb_merger.cc b/paludis/repositories/e/vdb_merger.cc
index 395a119d9..ebdfcdf0a 100644
--- a/paludis/repositories/e/vdb_merger.cc
+++ b/paludis/repositories/e/vdb_merger.cc
@@ -107,9 +107,7 @@ VDBMerger::VDBMerger(const VDBMergerParams & p) :
{
}
-VDBMerger::~VDBMerger()
-{
-}
+VDBMerger::~VDBMerger() = default;
Hook
VDBMerger::extend_hook(const Hook & h)
diff --git a/paludis/repositories/e/vdb_repository.cc b/paludis/repositories/e/vdb_repository.cc
index 5f59a4ff5..bcdb7e07d 100644
--- a/paludis/repositories/e/vdb_repository.cc
+++ b/paludis/repositories/e/vdb_repository.cc
@@ -148,9 +148,7 @@ namespace paludis
{
}
- Imp<VDBRepository>::~Imp()
- {
- }
+ Imp<VDBRepository>::~Imp() = default;
}
VDBRepository::VDBRepository(const VDBRepositoryParams & p) :
@@ -171,9 +169,7 @@ VDBRepository::VDBRepository(const VDBRepositoryParams & p) :
_add_metadata_keys();
}
-VDBRepository::~VDBRepository()
-{
-}
+VDBRepository::~VDBRepository() = default;
void
VDBRepository::_add_metadata_keys() const
diff --git a/paludis/repositories/e/vdb_unmerger.cc b/paludis/repositories/e/vdb_unmerger.cc
index 5061682ca..cdb0aa185 100644
--- a/paludis/repositories/e/vdb_unmerger.cc
+++ b/paludis/repositories/e/vdb_unmerger.cc
@@ -82,9 +82,7 @@ VDBUnmerger::VDBUnmerger(const VDBUnmergerOptions & o) :
{
}
-VDBUnmerger::~VDBUnmerger()
-{
-}
+VDBUnmerger::~VDBUnmerger() = default;
Hook
VDBUnmerger::extend_hook(const Hook & h) const
diff --git a/paludis/repositories/fake/fake_installed_repository.cc b/paludis/repositories/fake/fake_installed_repository.cc
index 2982dfc06..a3499db8d 100644
--- a/paludis/repositories/fake/fake_installed_repository.cc
+++ b/paludis/repositories/fake/fake_installed_repository.cc
@@ -68,9 +68,7 @@ FakeInstalledRepository::FakeInstalledRepository(const FakeInstalledRepositoryPa
add_metadata_key(_imp->installed_root_key);
}
-FakeInstalledRepository::~FakeInstalledRepository()
-{
-}
+FakeInstalledRepository::~FakeInstalledRepository() = default;
bool
FakeInstalledRepository::is_suitable_destination_for(const std::shared_ptr<const PackageID> &) const
diff --git a/paludis/repositories/fake/fake_package_id.cc b/paludis/repositories/fake/fake_package_id.cc
index f33804192..8e02ad361 100644
--- a/paludis/repositories/fake/fake_package_id.cc
+++ b/paludis/repositories/fake/fake_package_id.cc
@@ -282,9 +282,7 @@ FakeMetadataSpecTreeKey<FetchableURISpecTree>::FakeMetadataSpecTreeKey(const std
set_from_string(v);
}
-FakeMetadataSpecTreeKey<FetchableURISpecTree>::~FakeMetadataSpecTreeKey()
-{
-}
+FakeMetadataSpecTreeKey<FetchableURISpecTree>::~FakeMetadataSpecTreeKey() = default;
void
FakeMetadataSpecTreeKey<FetchableURISpecTree>::set_from_string(const std::string & s)
@@ -337,9 +335,7 @@ FakeMetadataSpecTreeKey<DependencySpecTree>::FakeMetadataSpecTreeKey(const std::
set_from_string(v);
}
-FakeMetadataSpecTreeKey<DependencySpecTree>::~FakeMetadataSpecTreeKey()
-{
-}
+FakeMetadataSpecTreeKey<DependencySpecTree>::~FakeMetadataSpecTreeKey() = default;
void
FakeMetadataSpecTreeKey<DependencySpecTree>::set_from_string(const std::string & s)
@@ -483,9 +479,7 @@ FakeMetadataChoicesKey::FakeMetadataChoicesKey(const Environment * const e,
{
}
-FakeMetadataChoicesKey::~FakeMetadataChoicesKey()
-{
-}
+FakeMetadataChoicesKey::~FakeMetadataChoicesKey() = default;
void
FakeMetadataChoicesKey::add(const std::string & n, const std::string & v)
@@ -557,9 +551,7 @@ FakeUnacceptedMask::FakeUnacceptedMask(const char c, const std::string & s, cons
{
}
-FakeUnacceptedMask::~FakeUnacceptedMask()
-{
-}
+FakeUnacceptedMask::~FakeUnacceptedMask() = default;
char
FakeUnacceptedMask::key() const
@@ -583,9 +575,7 @@ FakeUnsupportedMask::FakeUnsupportedMask()
{
}
-FakeUnsupportedMask::~FakeUnsupportedMask()
-{
-}
+FakeUnsupportedMask::~FakeUnsupportedMask() = default;
char
FakeUnsupportedMask::key() const
@@ -681,9 +671,7 @@ FakePackageID::FakePackageID(const Environment * const e, const RepositoryName &
{
}
-FakePackageID::~FakePackageID()
-{
-}
+FakePackageID::~FakePackageID() = default;
const std::string
FakePackageID::canonical_form(const PackageIDCanonicalForm f) const
diff --git a/paludis/repositories/fake/fake_repository.cc b/paludis/repositories/fake/fake_repository.cc
index 676897798..db7c8ae53 100644
--- a/paludis/repositories/fake/fake_repository.cc
+++ b/paludis/repositories/fake/fake_repository.cc
@@ -60,9 +60,7 @@ FakeRepository::FakeRepository(const FakeRepositoryParams & params) :
add_metadata_key(_imp->format_key);
}
-FakeRepository::~FakeRepository()
-{
-}
+FakeRepository::~FakeRepository() = default;
namespace paludis
{
diff --git a/paludis/repositories/fake/fake_repository_base.cc b/paludis/repositories/fake/fake_repository_base.cc
index 1c5e24e23..578b5f4bc 100644
--- a/paludis/repositories/fake/fake_repository_base.cc
+++ b/paludis/repositories/fake/fake_repository_base.cc
@@ -68,9 +68,7 @@ FakeRepositoryBase::FakeRepositoryBase(const Environment * const e,
{
}
-FakeRepositoryBase::~FakeRepositoryBase()
-{
-}
+FakeRepositoryBase::~FakeRepositoryBase() = default;
bool
FakeRepositoryBase::has_category_named(const CategoryNamePart & c, const RepositoryContentMayExcludes &) const
diff --git a/paludis/repositories/repository/repository_id.cc b/paludis/repositories/repository/repository_id.cc
index 96f7d0f04..b8831658c 100644
--- a/paludis/repositories/repository/repository_id.cc
+++ b/paludis/repositories/repository/repository_id.cc
@@ -84,9 +84,7 @@ RepositoryID::RepositoryID(const RepositoryIDParams & entry) :
add_metadata_key(_imp->behaviours_key);
}
-RepositoryID::~RepositoryID()
-{
-}
+RepositoryID::~RepositoryID() = default;
void
RepositoryID::need_keys_added() const
diff --git a/paludis/repositories/repository/repository_repository.cc b/paludis/repositories/repository/repository_repository.cc
index 1472a3e0e..d4f5baf90 100644
--- a/paludis/repositories/repository/repository_repository.cc
+++ b/paludis/repositories/repository/repository_repository.cc
@@ -101,9 +101,7 @@ RepositoryRepository::RepositoryRepository(const RepositoryRepositoryParams & p)
_add_metadata_keys();
}
-RepositoryRepository::~RepositoryRepository()
-{
-}
+RepositoryRepository::~RepositoryRepository() = default;
const bool
RepositoryRepository::is_unimportant() const
diff --git a/paludis/repositories/repository/repository_repository_store.cc b/paludis/repositories/repository/repository_repository_store.cc
index 682ede2fc..bf8fe417a 100644
--- a/paludis/repositories/repository/repository_repository_store.cc
+++ b/paludis/repositories/repository/repository_repository_store.cc
@@ -76,9 +76,7 @@ RepositoryRepositoryStore::RepositoryRepositoryStore(
_populate();
}
-RepositoryRepositoryStore::~RepositoryRepositoryStore()
-{
-}
+RepositoryRepositoryStore::~RepositoryRepositoryStore() = default;
void
RepositoryRepositoryStore::_populate()
diff --git a/paludis/repositories/unavailable/unavailable_package_id.cc b/paludis/repositories/unavailable/unavailable_package_id.cc
index a77119d57..5d5132655 100644
--- a/paludis/repositories/unavailable/unavailable_package_id.cc
+++ b/paludis/repositories/unavailable/unavailable_package_id.cc
@@ -88,9 +88,7 @@ UnavailablePackageID::UnavailablePackageID(const UnavailablePackageIDParams & en
add_mask(_imp->mask);
}
-UnavailablePackageID::~UnavailablePackageID()
-{
-}
+UnavailablePackageID::~UnavailablePackageID() = default;
void
UnavailablePackageID::need_keys_added() const
diff --git a/paludis/repositories/unavailable/unavailable_repository.cc b/paludis/repositories/unavailable/unavailable_repository.cc
index aad388325..460191383 100644
--- a/paludis/repositories/unavailable/unavailable_repository.cc
+++ b/paludis/repositories/unavailable/unavailable_repository.cc
@@ -110,9 +110,7 @@ UnavailableRepository::UnavailableRepository(const UnavailableRepositoryParams &
_add_metadata_keys();
}
-UnavailableRepository::~UnavailableRepository()
-{
-}
+UnavailableRepository::~UnavailableRepository() = default;
const bool
UnavailableRepository::is_unimportant() const
diff --git a/paludis/repositories/unavailable/unavailable_repository_dependencies_key.cc b/paludis/repositories/unavailable/unavailable_repository_dependencies_key.cc
index 9b5839ab1..f03a6579e 100644
--- a/paludis/repositories/unavailable/unavailable_repository_dependencies_key.cc
+++ b/paludis/repositories/unavailable/unavailable_repository_dependencies_key.cc
@@ -79,9 +79,7 @@ UnavailableRepositoryDependenciesKey::UnavailableRepositoryDependenciesKey(const
{
}
-UnavailableRepositoryDependenciesKey::~UnavailableRepositoryDependenciesKey()
-{
-}
+UnavailableRepositoryDependenciesKey::~UnavailableRepositoryDependenciesKey() = default;
const std::shared_ptr<const DependencySpecTree>
UnavailableRepositoryDependenciesKey::parse_value() const
diff --git a/paludis/repositories/unavailable/unavailable_repository_file.cc b/paludis/repositories/unavailable/unavailable_repository_file.cc
index 648077114..c08b8b989 100644
--- a/paludis/repositories/unavailable/unavailable_repository_file.cc
+++ b/paludis/repositories/unavailable/unavailable_repository_file.cc
@@ -65,9 +65,7 @@ UnavailableRepositoryFile::UnavailableRepositoryFile(const FSPath & f) :
_load(f);
}
-UnavailableRepositoryFile::~UnavailableRepositoryFile()
-{
-}
+UnavailableRepositoryFile::~UnavailableRepositoryFile() = default;
UnavailableRepositoryFile::ConstIterator
UnavailableRepositoryFile::begin() const
diff --git a/paludis/repositories/unavailable/unavailable_repository_id.cc b/paludis/repositories/unavailable/unavailable_repository_id.cc
index 0005a18ed..fe514a7f7 100644
--- a/paludis/repositories/unavailable/unavailable_repository_id.cc
+++ b/paludis/repositories/unavailable/unavailable_repository_id.cc
@@ -112,9 +112,7 @@ UnavailableRepositoryID::UnavailableRepositoryID(const UnavailableRepositoryIDPa
add_mask(_imp->mask);
}
-UnavailableRepositoryID::~UnavailableRepositoryID()
-{
-}
+UnavailableRepositoryID::~UnavailableRepositoryID() = default;
void
UnavailableRepositoryID::need_keys_added() const
diff --git a/paludis/repositories/unavailable/unavailable_repository_store.cc b/paludis/repositories/unavailable/unavailable_repository_store.cc
index 4434465ec..843357d36 100644
--- a/paludis/repositories/unavailable/unavailable_repository_store.cc
+++ b/paludis/repositories/unavailable/unavailable_repository_store.cc
@@ -82,9 +82,7 @@ UnavailableRepositoryStore::UnavailableRepositoryStore(
_populate(env, f);
}
-UnavailableRepositoryStore::~UnavailableRepositoryStore()
-{
-}
+UnavailableRepositoryStore::~UnavailableRepositoryStore() = default;
void
UnavailableRepositoryStore::_populate(const Environment * const env, const FSPath & f)
diff --git a/paludis/repositories/unpackaged/installed_id.cc b/paludis/repositories/unpackaged/installed_id.cc
index 3fbace967..efb271e8a 100644
--- a/paludis/repositories/unpackaged/installed_id.cc
+++ b/paludis/repositories/unpackaged/installed_id.cc
@@ -426,9 +426,7 @@ InstalledUnpackagedID::InstalledUnpackagedID(const Environment * const e, const
add_metadata_key(_imp->behaviours_key);
}
-InstalledUnpackagedID::~InstalledUnpackagedID()
-{
-}
+InstalledUnpackagedID::~InstalledUnpackagedID() = default;
void
InstalledUnpackagedID::need_keys_added() const
diff --git a/paludis/repositories/unpackaged/installed_repository.cc b/paludis/repositories/unpackaged/installed_repository.cc
index fb350bb87..f9c51fe39 100644
--- a/paludis/repositories/unpackaged/installed_repository.cc
+++ b/paludis/repositories/unpackaged/installed_repository.cc
@@ -104,9 +104,7 @@ InstalledUnpackagedRepository::InstalledUnpackagedRepository(
_add_metadata_keys();
}
-InstalledUnpackagedRepository::~InstalledUnpackagedRepository()
-{
-}
+InstalledUnpackagedRepository::~InstalledUnpackagedRepository() = default;
void
InstalledUnpackagedRepository::_add_metadata_keys() const
diff --git a/paludis/repositories/unpackaged/unpackaged_id.cc b/paludis/repositories/unpackaged/unpackaged_id.cc
index 118ece886..c4dab961d 100644
--- a/paludis/repositories/unpackaged/unpackaged_id.cc
+++ b/paludis/repositories/unpackaged/unpackaged_id.cc
@@ -139,9 +139,7 @@ UnpackagedID::UnpackagedID(const Environment * const e, const QualifiedPackageNa
add_metadata_key(_imp->preserve_work_key);
}
-UnpackagedID::~UnpackagedID()
-{
-}
+UnpackagedID::~UnpackagedID() = default;
void
UnpackagedID::need_keys_added() const
diff --git a/paludis/repositories/unpackaged/unpackaged_key.cc b/paludis/repositories/unpackaged/unpackaged_key.cc
index 388a01b59..6b679e3b7 100644
--- a/paludis/repositories/unpackaged/unpackaged_key.cc
+++ b/paludis/repositories/unpackaged/unpackaged_key.cc
@@ -67,9 +67,7 @@ UnpackagedDependencyKey::UnpackagedDependencyKey(const Environment * const env,
{
}
-UnpackagedDependencyKey::~UnpackagedDependencyKey()
-{
-}
+UnpackagedDependencyKey::~UnpackagedDependencyKey() = default;
const std::shared_ptr<const DependencySpecTree>
UnpackagedDependencyKey::parse_value() const
@@ -143,9 +141,7 @@ UnpackagedChoicesKey::UnpackagedChoicesKey(const Environment * const env, const
{
}
-UnpackagedChoicesKey::~UnpackagedChoicesKey()
-{
-}
+UnpackagedChoicesKey::~UnpackagedChoicesKey() = default;
const std::shared_ptr<const Choices>
UnpackagedChoicesKey::parse_value() const
diff --git a/paludis/repositories/unpackaged/unpackaged_repository.cc b/paludis/repositories/unpackaged/unpackaged_repository.cc
index 00d2853c9..97c187ea5 100644
--- a/paludis/repositories/unpackaged/unpackaged_repository.cc
+++ b/paludis/repositories/unpackaged/unpackaged_repository.cc
@@ -103,9 +103,7 @@ UnpackagedRepository::UnpackagedRepository(const RepositoryName & n,
_add_metadata_keys();
}
-UnpackagedRepository::~UnpackagedRepository()
-{
-}
+UnpackagedRepository::~UnpackagedRepository() = default;
void
UnpackagedRepository::_add_metadata_keys() const
diff --git a/paludis/repositories/unpackaged/unpackaged_stripper.cc b/paludis/repositories/unpackaged/unpackaged_stripper.cc
index 49e086b54..9f3290800 100644
--- a/paludis/repositories/unpackaged/unpackaged_stripper.cc
+++ b/paludis/repositories/unpackaged/unpackaged_stripper.cc
@@ -53,9 +53,7 @@ UnpackagedStripper::UnpackagedStripper(const UnpackagedStripperOptions & options
{
}
-UnpackagedStripper::~UnpackagedStripper()
-{
-}
+UnpackagedStripper::~UnpackagedStripper() = default;
void
UnpackagedStripper::on_enter_dir(const FSPath &)
diff --git a/paludis/repositories/unwritten/unwritten_id.cc b/paludis/repositories/unwritten/unwritten_id.cc
index 9a6f60b12..e1b0d6fc9 100644
--- a/paludis/repositories/unwritten/unwritten_id.cc
+++ b/paludis/repositories/unwritten/unwritten_id.cc
@@ -107,9 +107,7 @@ UnwrittenID::UnwrittenID(const UnwrittenIDParams & entry) :
add_mask(_imp->mask);
}
-UnwrittenID::~UnwrittenID()
-{
-}
+UnwrittenID::~UnwrittenID() = default;
void
UnwrittenID::need_keys_added() const
diff --git a/paludis/repositories/unwritten/unwritten_repository.cc b/paludis/repositories/unwritten/unwritten_repository.cc
index a1bbf3142..a738b6d23 100644
--- a/paludis/repositories/unwritten/unwritten_repository.cc
+++ b/paludis/repositories/unwritten/unwritten_repository.cc
@@ -104,9 +104,7 @@ UnwrittenRepository::UnwrittenRepository(const UnwrittenRepositoryParams & p) :
_add_metadata_keys();
}
-UnwrittenRepository::~UnwrittenRepository()
-{
-}
+UnwrittenRepository::~UnwrittenRepository() = default;
const bool
UnwrittenRepository::is_unimportant() const
diff --git a/paludis/repositories/unwritten/unwritten_repository_file.cc b/paludis/repositories/unwritten/unwritten_repository_file.cc
index 83debb902..ca6edbb70 100644
--- a/paludis/repositories/unwritten/unwritten_repository_file.cc
+++ b/paludis/repositories/unwritten/unwritten_repository_file.cc
@@ -70,9 +70,7 @@ UnwrittenRepositoryFile::UnwrittenRepositoryFile(const FSPath & f) :
_load(f);
}
-UnwrittenRepositoryFile::~UnwrittenRepositoryFile()
-{
-}
+UnwrittenRepositoryFile::~UnwrittenRepositoryFile() = default;
UnwrittenRepositoryFile::ConstIterator
UnwrittenRepositoryFile::begin() const
diff --git a/paludis/repositories/unwritten/unwritten_repository_store.cc b/paludis/repositories/unwritten/unwritten_repository_store.cc
index 744706676..9029d0565 100644
--- a/paludis/repositories/unwritten/unwritten_repository_store.cc
+++ b/paludis/repositories/unwritten/unwritten_repository_store.cc
@@ -97,9 +97,7 @@ UnwrittenRepositoryStore::UnwrittenRepositoryStore(
_populate(env, f);
}
-UnwrittenRepositoryStore::~UnwrittenRepositoryStore()
-{
-}
+UnwrittenRepositoryStore::~UnwrittenRepositoryStore() = default;
void
UnwrittenRepositoryStore::_populate(const Environment * const env, const FSPath & f)