aboutsummaryrefslogtreecommitdiff
path: root/src/key.h
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2017-09-21 23:40:33 -0700
committerPieter Wuille <pieter.wuille@gmail.com>2017-09-21 23:40:33 -0700
commit46c90437f9efbabcb5c810cd82b00a9e5d1c5cd7 (patch)
treece0cc0a235e4b2f432f56ecd131f7e346942a166 /src/key.h
parent6c4fecfaf7beefad0d1c3f8520bf50bb515a0716 (diff)
Remove some unused functions and methods
In the case of CKey's destructor, it seems to have been an oversight in f4d1fc259 not to delete it. At this point, it results in the move constructors/assignment operators for CKey being deleted, which may have a performance impact.
Diffstat (limited to 'src/key.h')
-rw-r--r--src/key.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/key.h b/src/key.h
index 151e63531b..54b5be2270 100644
--- a/src/key.h
+++ b/src/key.h
@@ -56,11 +56,6 @@ public:
keydata.resize(32);
}
- //! Destructor (again necessary because of memlocking).
- ~CKey()
- {
- }
-
friend bool operator==(const CKey& a, const CKey& b)
{
return a.fCompressed == b.fCompressed &&