diff options
author | Daniel Seither <[email protected]> | 2015-07-30 16:44:33 +0200 |
---|---|---|
committer | Daniel Seither <[email protected]> | 2015-07-30 16:44:33 +0200 |
commit | 025a838b473a3b686ce583f9b73bd151fe95df29 (patch) | |
tree | 473a076d6ccf4ced0c0bbe23087724546950eef2 /src/lib/entropy/proc_walk | |
parent | 8e8f1d468c8e1d842677488423e6ccd99a1c79f0 (diff) |
entropy: Add missing overrides
Diffstat (limited to 'src/lib/entropy/proc_walk')
-rw-r--r-- | src/lib/entropy/proc_walk/proc_walk.cpp | 2 | ||||
-rw-r--r-- | src/lib/entropy/proc_walk/proc_walk.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/entropy/proc_walk/proc_walk.cpp b/src/lib/entropy/proc_walk/proc_walk.cpp index 217ed5a52..7fbea678e 100644 --- a/src/lib/entropy/proc_walk/proc_walk.cpp +++ b/src/lib/entropy/proc_walk/proc_walk.cpp @@ -41,7 +41,7 @@ class Directory_Walker : public File_Descriptor_Source ::closedir(m_cur_dir.first); } - int next_fd(); + int next_fd() override; private: std::pair<struct dirent*, std::string> get_next_dirent(); diff --git a/src/lib/entropy/proc_walk/proc_walk.h b/src/lib/entropy/proc_walk/proc_walk.h index 939feb112..ec56f9e2d 100644 --- a/src/lib/entropy/proc_walk/proc_walk.h +++ b/src/lib/entropy/proc_walk/proc_walk.h @@ -26,9 +26,9 @@ class File_Descriptor_Source class ProcWalking_EntropySource : public EntropySource { public: - std::string name() const { return "Proc Walker"; } + std::string name() const override { return "Proc Walker"; } - void poll(Entropy_Accumulator& accum); + void poll(Entropy_Accumulator& accum) override; ProcWalking_EntropySource(const std::string& root_dir) : m_path(root_dir), m_dir(nullptr) {} |