diff options
author | Riccardo Spagni <ric@spagni.net> | 2018-12-12 12:01:31 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2018-12-12 12:01:31 +0200 |
commit | 6bc0c7e6850d9b35ce48e3a7f494be95f5247604 (patch) | |
tree | 31b7c2e84b1fdd7d21d9c61e812dc97dde3ffde5 /src | |
parent | Merge pull request #4925 (diff) | |
parent | Bulletproof: Initialize members in default construtor. (diff) | |
download | monero-6bc0c7e6850d9b35ce48e3a7f494be95f5247604.tar.xz |
Merge pull request #4927
6456cb41 Bulletproof: Initialize members in default construtor. (Tadeas Moravec)
Diffstat (limited to '')
-rw-r--r-- | src/ringct/rctTypes.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ringct/rctTypes.h b/src/ringct/rctTypes.h index 18290637b..487ea6f32 100644 --- a/src/ringct/rctTypes.h +++ b/src/ringct/rctTypes.h @@ -187,7 +187,8 @@ namespace rct { rct::keyV L, R; rct::key a, b, t; - Bulletproof() {} + Bulletproof(): + A({}), S({}), T1({}), T2({}), taux({}), mu({}), a({}), b({}), t({}) {} Bulletproof(const rct::key &V, const rct::key &A, const rct::key &S, const rct::key &T1, const rct::key &T2, const rct::key &taux, const rct::key &mu, const rct::keyV &L, const rct::keyV &R, const rct::key &a, const rct::key &b, const rct::key &t): V({V}), A(A), S(S), T1(T1), T2(T2), taux(taux), mu(mu), L(L), R(R), a(a), b(b), t(t) {} Bulletproof(const rct::keyV &V, const rct::key &A, const rct::key &S, const rct::key &T1, const rct::key &T2, const rct::key &taux, const rct::key &mu, const rct::keyV &L, const rct::keyV &R, const rct::key &a, const rct::key &b, const rct::key &t): |