summaryrefslogtreecommitdiff
path: root/src/db
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2020-01-31 19:37:53 -0800
committerRosen Penev <rosenp@gmail.com>2020-01-31 21:27:26 -0800
commitb64fdae938871976f0fdb6ab0d1a6f623ae9cd64 (patch)
treef14661c6749632066cbf33c095c633a2128f4fd6 /src/db
parent0b2444450f1dd3e249529d14418abf89579ad09a (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/db')
-rw-r--r--src/db/update/Archive.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db/update/Archive.cxx b/src/db/update/Archive.cxx
index 5b88f39bc..5e03e0c7e 100644
--- a/src/db/update/Archive.cxx
+++ b/src/db/update/Archive.cxx
@@ -107,7 +107,7 @@ class UpdateArchiveVisitor final : public ArchiveVisitor {
Directory &_directory) noexcept
:walk(_walk), archive(_archive), directory(_directory) {}
- virtual void VisitArchiveEntry(const char *path_utf8) override {
+ void VisitArchiveEntry(const char *path_utf8) override {
FormatDebug(update_domain,
"adding archive file: %s", path_utf8);
walk.UpdateArchiveTree(archive, directory, path_utf8);