aboutsummaryrefslogtreecommitdiff
path: root/src/dbwrapper.cpp
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2017-06-29 12:57:45 +0200
committerpracticalswift <practicalswift@users.noreply.github.com>2017-08-09 10:44:59 +0200
commit1bcd44223cdc1b584c0cd0863fe9653f540cf856 (patch)
tree6b8b20abb3a7678c66f5cd68d6a0f075623c2d75 /src/dbwrapper.cpp
parent929fd7276c0f0c30b9416f61a6f5f35d763d81e4 (diff)
downloadbitcoin-1bcd44223cdc1b584c0cd0863fe9653f540cf856.tar.xz
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).
Diffstat (limited to 'src/dbwrapper.cpp')
-rw-r--r--src/dbwrapper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dbwrapper.cpp b/src/dbwrapper.cpp
index 3626e0177f..750966fd35 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;
}