aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/e_installed_repository.hh
diff options
context:
space:
mode:
authorAvatar Marvin Schmidt <marv@exherbo.org> 2019-02-21 18:14:13 +0100
committerAvatar Heiko Becker <heirecka@exherbo.org> 2020-10-16 17:59:26 +0000
commit6e995e8d5f0e763b6dd6adef7b014eaf54121334 (patch)
tree9d5dd7bc7ce267d4449cfd08d850ec33caf8be67 /paludis/repositories/e/e_installed_repository.hh
parent3e45be57eef80ab27eba09e0249c70c2ee931573 (diff)
downloadpaludis-6e995e8d5f0e763b6dd6adef7b014eaf54121334.tar.gz
paludis-6e995e8d5f0e763b6dd6adef7b014eaf54121334.tar.xz
modernize: Mark overriding functions as suchHEADmaster
Done using clang-tidy's `modernize-use-override` check
Diffstat (limited to 'paludis/repositories/e/e_installed_repository.hh')
-rw-r--r--paludis/repositories/e/e_installed_repository.hh36
1 files changed, 18 insertions, 18 deletions
diff --git a/paludis/repositories/e/e_installed_repository.hh b/paludis/repositories/e/e_installed_repository.hh
index 977407c38..e85d238cd 100644
--- a/paludis/repositories/e/e_installed_repository.hh
+++ b/paludis/repositories/e/e_installed_repository.hh
@@ -51,7 +51,7 @@ namespace paludis
protected:
EInstalledRepository(const EInstalledRepositoryParams &, const RepositoryName &, const RepositoryCapabilities &);
- ~EInstalledRepository();
+ ~EInstalledRepository() override;
std::string snoop_variable_from_environment_file(
const FSPath &,
@@ -61,42 +61,42 @@ namespace paludis
public:
/* RepositoryEnvironmentVariableInterface */
- virtual std::string get_environment_variable(
+ std::string get_environment_variable(
const std::shared_ptr<const PackageID> & for_package,
const std::string & var) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
/* RepositoryDestinationInterface */
- virtual bool is_suitable_destination_for(const std::shared_ptr<const PackageID> &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ bool is_suitable_destination_for(const std::shared_ptr<const PackageID> &) const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual bool want_pre_post_phases() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ bool want_pre_post_phases() const
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
/* Repository */
- virtual std::shared_ptr<const CategoryNamePartSet> unimportant_category_names(
- const RepositoryContentMayExcludes &) const;
+ std::shared_ptr<const CategoryNamePartSet> unimportant_category_names(
+ const RepositoryContentMayExcludes &) const override;
- virtual const bool is_unimportant() const;
+ const bool is_unimportant() const override;
- virtual bool some_ids_might_support_action(const SupportsActionTestBase &) const;
+ bool some_ids_might_support_action(const SupportsActionTestBase &) const override;
- virtual bool some_ids_might_not_be_masked() const;
+ bool some_ids_might_not_be_masked() const override;
HookResult perform_hook(
const Hook & hook,
const std::shared_ptr<OutputManager> &)
- PALUDIS_ATTRIBUTE((warn_unused_result));
+ override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual bool sync(
+ bool sync(
const std::string &,
const std::string &,
- const std::shared_ptr<OutputManager> &) const;
+ const std::shared_ptr<OutputManager> &) const override;
- virtual const std::shared_ptr<const Set<std::string> > maybe_expand_licence_nonrecursively(
- const std::string &) const;
+ const std::shared_ptr<const Set<std::string> > maybe_expand_licence_nonrecursively(
+ const std::string &) const override;
///\name For use by EInstalledRepositoryID
///\{
@@ -118,7 +118,7 @@ namespace paludis
///\name Set methods
///\{
- virtual void populate_sets() const;
+ void populate_sets() const override;
///\}