From aa95947ded93e7e45f222f255baf186433cc11fc Mon Sep 17 00:00:00 2001 From: practicalswift Date: Tue, 20 Jun 2017 21:58:56 +0200 Subject: Use the override specifier (C++11) where we expect to be overriding the virtual function of a base class --- src/script/sigcache.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/script/sigcache.h') diff --git a/src/script/sigcache.h b/src/script/sigcache.h index 55cec4cc8d..5832b264b3 100644 --- a/src/script/sigcache.h +++ b/src/script/sigcache.h @@ -48,7 +48,7 @@ private: public: CachingTransactionSignatureChecker(const CTransaction* txToIn, unsigned int nInIn, const CAmount& amountIn, bool storeIn, PrecomputedTransactionData& txdataIn) : TransactionSignatureChecker(txToIn, nInIn, amountIn, txdataIn), store(storeIn) {} - bool VerifySignature(const std::vector& vchSig, const CPubKey& vchPubKey, const uint256& sighash) const; + bool VerifySignature(const std::vector& vchSig, const CPubKey& vchPubKey, const uint256& sighash) const override; }; void InitSignatureCache(); -- cgit v1.2.3