From 1bcd44223cdc1b584c0cd0863fe9653f540cf856 Mon Sep 17 00:00:00 2001 From: practicalswift Date: Thu, 29 Jun 2017 12:57:45 +0200 Subject: Remove the virtual specifier for functions with the override specifier `override` guarantees that the function is virtual (in addition to that the function is overriding a virtual function from a base class). --- src/dbwrapper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dbwrapper.cpp') diff --git a/src/dbwrapper.cpp b/src/dbwrapper.cpp index 3626e0177..750966fd3 100644 --- a/src/dbwrapper.cpp +++ b/src/dbwrapper.cpp @@ -19,7 +19,7 @@ class CBitcoinLevelDBLogger : public leveldb::Logger { public: // This code is adapted from posix_logger.h, which is why it is using vsprintf. // Please do not do this in normal code - virtual void Logv(const char * format, va_list ap) override { + void Logv(const char * format, va_list ap) override { if (!LogAcceptCategory(BCLog::LEVELDB)) { return; } -- cgit v1.2.3