aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet.h
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2017-07-16 23:42:27 +0200
committerCory Fields <cory-nospam-@coryfields.com>2017-07-17 11:35:13 -0400
commit40a0f9fb967a4c7e74d3a6fd4d05744af40fac68 (patch)
tree720729f59f56a5e50d441a41acc9bf1014e800bb /src/wallet/wallet.h
parent9a1675ee5b27f8634f9917a1f80904c9319739d3 (diff)
Enable devirtualization opportunities by using the final specifier (C++11)
* Declaring CCoinsViewErrorCatcher final enables devirtualization of two calls * Declaring CReserveKey final enables devirtualization of one call
Diffstat (limited to 'src/wallet/wallet.h')
-rw-r--r--src/wallet/wallet.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h
index 9901f5f8c0..11ea89dc6c 100644
--- a/src/wallet/wallet.h
+++ b/src/wallet/wallet.h
@@ -1135,7 +1135,7 @@ public:
};
/** A key allocated from the key pool. */
-class CReserveKey : public CReserveScript
+class CReserveKey final : public CReserveScript
{
protected:
CWallet* pwallet;