aboutsummaryrefslogtreecommitdiff
path: root/paludis/fs_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/fs_merger.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/fs_merger.hh')
-rw-r--r--paludis/fs_merger.hh18
1 files changed, 9 insertions, 9 deletions
diff --git a/paludis/fs_merger.hh b/paludis/fs_merger.hh
index a27f3393e..e1102ed66 100644
--- a/paludis/fs_merger.hh
+++ b/paludis/fs_merger.hh
@@ -166,7 +166,7 @@ namespace paludis
///\}
- virtual Hook extend_hook(const Hook &);
+ Hook extend_hook(const Hook &) override;
///\name Track and record merges
///\{
@@ -181,7 +181,7 @@ namespace paludis
///\name Handle filesystem entry things
///\{
- virtual void on_file_main(bool is_check, const FSPath & src, const FSPath & dst);
+ void on_file_main(bool is_check, const FSPath & src, const FSPath & dst) override;
virtual void on_file_over_nothing(bool is_check, const FSPath &, const FSPath &);
virtual void on_file_over_file(bool is_check, const FSPath &, const FSPath &);
virtual void on_file_over_dir(bool is_check, const FSPath &, const FSPath &);
@@ -192,9 +192,9 @@ namespace paludis
virtual void unlink_file(FSPath);
virtual void record_install_file(const FSPath &, const FSPath &, const std::string &, const FSMergerStatusFlags &) = 0;
- virtual void on_enter_dir(bool is_check, const FSPath);
+ void on_enter_dir(bool is_check, const FSPath) override;
- virtual void on_dir_main(bool is_check, const FSPath & src, const FSPath & dst);
+ void on_dir_main(bool is_check, const FSPath & src, const FSPath & dst) override;
virtual void on_dir_over_nothing(bool is_check, const FSPath &, const FSPath &);
virtual void on_dir_over_file(bool is_check, const FSPath &, const FSPath &);
virtual void on_dir_over_dir(bool is_check, const FSPath &, const FSPath &);
@@ -206,7 +206,7 @@ namespace paludis
virtual void record_install_dir(const FSPath &, const FSPath &, const FSMergerStatusFlags &) = 0;
virtual void record_install_under_dir(const FSPath &, const FSMergerStatusFlags &) = 0;
- virtual void on_sym_main(bool is_check, const FSPath & src, const FSPath & dst);
+ void on_sym_main(bool is_check, const FSPath & src, const FSPath & dst) override;
virtual void on_sym_over_nothing(bool is_check, const FSPath &, const FSPath &);
virtual void on_sym_over_file(bool is_check, const FSPath &, const FSPath &);
virtual void on_sym_over_dir(bool is_check, const FSPath &, const FSPath &);
@@ -219,11 +219,11 @@ namespace paludis
virtual void unlink_misc(FSPath);
- virtual void prepare_install_under();
+ void prepare_install_under() override;
- virtual FSPath canonicalise_root_path(const FSPath & f);
+ FSPath canonicalise_root_path(const FSPath & f) override;
- virtual void do_dir_recursive(bool is_check, const FSPath &, const FSPath &);
+ void do_dir_recursive(bool is_check, const FSPath &, const FSPath &) override;
///\}
@@ -251,7 +251,7 @@ namespace paludis
///\}
- virtual void merge();
+ void merge() override;
};
}