aboutsummaryrefslogtreecommitdiff
path: root/src/txdb.cpp
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2022-05-11 16:02:15 +0100
committerfanquake <fanquake@gmail.com>2022-05-17 17:18:58 +0100
commit7aa40f55636be565441a9e0af8de0a346bfa4da2 (patch)
treecec851bcb9c00ea0d37da6b96cc5c65f2366862a /src/txdb.cpp
parentd5d40d59f8d12cf53c5ad1ce9710f3f108cec386 (diff)
refactor: use C++11 default initializers
Diffstat (limited to 'src/txdb.cpp')
-rw-r--r--src/txdb.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/txdb.cpp b/src/txdb.cpp
index afcd1985f5..a0939873ad 100644
--- a/src/txdb.cpp
+++ b/src/txdb.cpp
@@ -207,7 +207,7 @@ public:
// cache warmup on instantiation.
CCoinsViewDBCursor(CDBIterator* pcursorIn, const uint256&hashBlockIn):
CCoinsViewCursor(hashBlockIn), pcursor(pcursorIn) {}
- ~CCoinsViewDBCursor() {}
+ ~CCoinsViewDBCursor() = default;
bool GetKey(COutPoint &key) const override;
bool GetValue(Coin &coin) const override;