aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/e_choices_key.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_choices_key.hh
parent3e45be57eef80ab27eba09e0249c70c2ee931573 (diff)
downloadpaludis-6e995e8d5f0e763b6dd6adef7b014eaf54121334.tar.gz
paludis-6e995e8d5f0e763b6dd6adef7b014eaf54121334.tar.xz
modernize: Mark overriding functions as such
Done using clang-tidy's `modernize-use-override` check
Diffstat (limited to 'paludis/repositories/e/e_choices_key.hh')
-rw-r--r--paludis/repositories/e/e_choices_key.hh10
1 files changed, 5 insertions, 5 deletions
diff --git a/paludis/repositories/e/e_choices_key.hh b/paludis/repositories/e/e_choices_key.hh
index 92de6c07c..5ea9868de 100644
--- a/paludis/repositories/e/e_choices_key.hh
+++ b/paludis/repositories/e/e_choices_key.hh
@@ -53,13 +53,13 @@ namespace paludis
const std::shared_ptr<const ERepository> & maybe_profile,
const std::function<std::shared_ptr<const Map<ChoiceNameWithPrefix, std::string> > ()> & maybe_descriptions_fn);
- ~EChoicesKey();
+ ~EChoicesKey() override;
- const std::shared_ptr<const Choices> parse_value() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::shared_ptr<const Choices> parse_value() const override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::string raw_name() const PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual const std::string human_name() const PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual MetadataKeyType type() const PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::string raw_name() const override PALUDIS_ATTRIBUTE((warn_unused_result));
+ const std::string human_name() const override PALUDIS_ATTRIBUTE((warn_unused_result));
+ MetadataKeyType type() const override PALUDIS_ATTRIBUTE((warn_unused_result));
};
}
}