aboutsummaryrefslogtreecommitdiff
path: root/paludis/ipc_output_manager.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/ipc_output_manager.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/ipc_output_manager.hh')
-rw-r--r--paludis/ipc_output_manager.hh18
1 files changed, 9 insertions, 9 deletions
diff --git a/paludis/ipc_output_manager.hh b/paludis/ipc_output_manager.hh
index 3ddac98fe..7970182f1 100644
--- a/paludis/ipc_output_manager.hh
+++ b/paludis/ipc_output_manager.hh
@@ -45,17 +45,17 @@ namespace paludis
const int pipe_read_fd,
const int pipe_write_fd,
const CreateOutputManagerInfo &);
- ~IPCOutputManager() noexcept(false);
+ ~IPCOutputManager() noexcept(false) override;
- virtual std::ostream & stdout_stream() PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual std::ostream & stderr_stream() PALUDIS_ATTRIBUTE((warn_unused_result));
+ std::ostream & stdout_stream() override PALUDIS_ATTRIBUTE((warn_unused_result));
+ std::ostream & stderr_stream() override PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual void succeeded();
- virtual void ignore_succeeded();
- virtual void flush();
- virtual bool want_to_flush() const;
- virtual void nothing_more_to_come();
- virtual void message(const MessageType, const std::string &);
+ void succeeded() override;
+ void ignore_succeeded() override;
+ void flush() override;
+ bool want_to_flush() const override;
+ void nothing_more_to_come() override;
+ void message(const MessageType, const std::string &) override;
};
class PALUDIS_VISIBLE IPCInputManager