diff options
author | Rosen Penev <rosenp@gmail.com> | 2020-01-31 19:37:53 -0800 |
---|---|---|
committer | Rosen Penev <rosenp@gmail.com> | 2020-01-31 21:27:26 -0800 |
commit | b64fdae938871976f0fdb6ab0d1a6f623ae9cd64 (patch) | |
tree | f14661c6749632066cbf33c095c633a2128f4fd6 /src/fs | |
parent | 0b2444450f1dd3e249529d14418abf89579ad09a (diff) |
[clang-tidy] use override instead of virtual
Found with modernize-use-override
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'src/fs')
-rw-r--r-- | src/fs/io/AutoGunzipReader.hxx | 2 | ||||
-rw-r--r-- | src/fs/io/PeekReader.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/fs/io/AutoGunzipReader.hxx b/src/fs/io/AutoGunzipReader.hxx index 91d68bde8..6a9613b90 100644 --- a/src/fs/io/AutoGunzipReader.hxx +++ b/src/fs/io/AutoGunzipReader.hxx @@ -40,7 +40,7 @@ public: ~AutoGunzipReader() noexcept; /* virtual methods from class Reader */ - virtual size_t Read(void *data, size_t size) override; + size_t Read(void *data, size_t size) override; private: void Detect(); diff --git a/src/fs/io/PeekReader.hxx b/src/fs/io/PeekReader.hxx index 5c1d1bc22..e0b355a89 100644 --- a/src/fs/io/PeekReader.hxx +++ b/src/fs/io/PeekReader.hxx @@ -43,7 +43,7 @@ public: const void *Peek(size_t size); /* virtual methods from class Reader */ - virtual size_t Read(void *data, size_t size) override; + size_t Read(void *data, size_t size) override; }; #endif |