aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/vdb_merger.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/vdb_merger.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/vdb_merger.hh')
-rw-r--r--paludis/repositories/e/vdb_merger.hh34
1 files changed, 17 insertions, 17 deletions
diff --git a/paludis/repositories/e/vdb_merger.hh b/paludis/repositories/e/vdb_merger.hh
index 753d19fc6..685b53305 100644
--- a/paludis/repositories/e/vdb_merger.hh
+++ b/paludis/repositories/e/vdb_merger.hh
@@ -80,7 +80,7 @@ namespace paludis
public FSMerger
{
private:
- void display_override(const std::string &) const;
+ void display_override(const std::string &) const override;
Pimp<VDBMerger> _imp;
@@ -89,30 +89,30 @@ namespace paludis
///\{
VDBMerger(const VDBMergerParams &);
- ~VDBMerger();
+ ~VDBMerger() override;
///\}
- virtual Hook extend_hook(const Hook &);
+ Hook extend_hook(const Hook &) override;
- virtual void record_install_file(const FSPath &, const FSPath &, const std::string &, const FSMergerStatusFlags &);
- virtual void record_install_dir(const FSPath &, const FSPath &, const FSMergerStatusFlags &);
- virtual void record_install_under_dir(const FSPath &, const FSMergerStatusFlags &);
- virtual void record_install_sym(const FSPath &, const FSPath &, const FSMergerStatusFlags &);
+ void record_install_file(const FSPath &, const FSPath &, const std::string &, const FSMergerStatusFlags &) override;
+ void record_install_dir(const FSPath &, const FSPath &, const FSMergerStatusFlags &) override;
+ void record_install_under_dir(const FSPath &, const FSMergerStatusFlags &) override;
+ void record_install_sym(const FSPath &, const FSPath &, const FSMergerStatusFlags &) override;
- virtual void on_error(bool is_check, const std::string &);
- virtual void on_warn(bool is_check, const std::string &);
- virtual void on_enter_dir(bool is_check, const FSPath);
+ void on_error(bool is_check, const std::string &) override;
+ void on_warn(bool is_check, const std::string &) override;
+ void on_enter_dir(bool is_check, const FSPath) override;
- virtual void on_file(bool is_check, const FSPath &, const FSPath &);
- virtual void on_dir(bool is_check, const FSPath &, const FSPath &);
- virtual void on_sym(bool is_check, const FSPath &, const FSPath &);
+ void on_file(bool is_check, const FSPath &, const FSPath &) override;
+ void on_dir(bool is_check, const FSPath &, const FSPath &) override;
+ void on_sym(bool is_check, const FSPath &, const FSPath &) override;
- virtual bool config_protected(const FSPath &, const FSPath &);
- virtual std::string make_config_protect_name(const FSPath &, const FSPath &);
+ bool config_protected(const FSPath &, const FSPath &) override;
+ std::string make_config_protect_name(const FSPath &, const FSPath &) override;
- virtual void merge();
- virtual bool check();
+ void merge() override;
+ bool check() override;
};
}