aboutsummaryrefslogtreecommitdiffstats
path: root/src/bls.cpp
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <herumi@nifty.com>2016-08-27 23:10:06 +0800
committerMITSUNARI Shigeo <herumi@nifty.com>2016-08-27 23:10:06 +0800
commit135e3e6014431a9358a13ce96d0b4870cc916ee3 (patch)
tree7a069ed6f03379479b31a54136d04cb116779044 /src/bls.cpp
parente4faaeb768457788a73442e1d2e7216890803da5 (diff)
downloaddexon-bls-135e3e6014431a9358a13ce96d0b4870cc916ee3.tar.gz
dexon-bls-135e3e6014431a9358a13ce96d0b4870cc916ee3.tar.zst
dexon-bls-135e3e6014431a9358a13ce96d0b4870cc916ee3.zip
add destructor of Id
Diffstat (limited to 'src/bls.cpp')
-rw-r--r--src/bls.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/bls.cpp b/src/bls.cpp
index dc78c69..c2ae9bf 100644
--- a/src/bls.cpp
+++ b/src/bls.cpp
@@ -211,6 +211,11 @@ Id::Id(unsigned int id)
self_->v = id;
}
+Id::~Id()
+{
+ delete self_;
+}
+
Id::Id(const Id& rhs)
: self_(new impl::Id(*rhs.self_))
{