From d044e0ec7d37bbcdf10bbdb903b9119741c7297d Mon Sep 17 00:00:00 2001 From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> Date: Sat, 14 Mar 2020 08:50:15 +0200 Subject: [PATCH] refactor: Remove override for final overriders --- src/interfaces/chain.cpp | 2 +- src/script/descriptor.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/interfaces/chain.cpp b/src/interfaces/chain.cpp index c5262e4bc0..31dfb4d16a 100644 --- a/src/interfaces/chain.cpp +++ b/src/interfaces/chain.cpp @@ -127,7 +127,7 @@ public: ::tableRPC.appendCommand(m_command.name, &m_command); } - void disconnect() override final + void disconnect() final { if (m_wrapped_command) { m_wrapped_command = nullptr; diff --git a/src/script/descriptor.cpp b/src/script/descriptor.cpp index 5279f40506..ed0175bb10 100644 --- a/src/script/descriptor.cpp +++ b/src/script/descriptor.cpp @@ -481,7 +481,7 @@ public: return AddChecksum(ret); } - bool ToPrivateString(const SigningProvider& arg, std::string& out) const override final + bool ToPrivateString(const SigningProvider& arg, std::string& out) const final { bool ret = ToStringHelper(&arg, out, true); out = AddChecksum(out);