Workaround g++ 5.x bug with brace enclosed initializer.
http://stackoverflow.com/questions/32912921/whats-wrong-with-this-inline-initialization-of-stdarray/32912976#32912976
This commit is contained in:
parent
ccc0f9af42
commit
e11e61ddb1
|
@ -52,7 +52,7 @@ public:
|
||||||
// These contain trapdoors, values and other information
|
// These contain trapdoors, values and other information
|
||||||
// that the recipient needs, including a memo field. It
|
// that the recipient needs, including a memo field. It
|
||||||
// is encrypted using the scheme implemented in crypto/NoteEncryption.cpp
|
// is encrypted using the scheme implemented in crypto/NoteEncryption.cpp
|
||||||
boost::array<ZCNoteEncryption::Ciphertext, ZC_NUM_JS_OUTPUTS> ciphertexts = {0};
|
boost::array<ZCNoteEncryption::Ciphertext, ZC_NUM_JS_OUTPUTS> ciphertexts = {{ {{0}} }};
|
||||||
|
|
||||||
// Random seed
|
// Random seed
|
||||||
uint256 randomSeed;
|
uint256 randomSeed;
|
||||||
|
@ -307,7 +307,7 @@ public:
|
||||||
const uint32_t nLockTime;
|
const uint32_t nLockTime;
|
||||||
const std::vector<JSDescription> vjoinsplit;
|
const std::vector<JSDescription> vjoinsplit;
|
||||||
const uint256 joinSplitPubKey;
|
const uint256 joinSplitPubKey;
|
||||||
const joinsplit_sig_t joinSplitSig = {0};
|
const joinsplit_sig_t joinSplitSig = {{0}};
|
||||||
|
|
||||||
/** Construct a CTransaction that qualifies as IsNull() */
|
/** Construct a CTransaction that qualifies as IsNull() */
|
||||||
CTransaction();
|
CTransaction();
|
||||||
|
@ -386,7 +386,7 @@ struct CMutableTransaction
|
||||||
uint32_t nLockTime;
|
uint32_t nLockTime;
|
||||||
std::vector<JSDescription> vjoinsplit;
|
std::vector<JSDescription> vjoinsplit;
|
||||||
uint256 joinSplitPubKey;
|
uint256 joinSplitPubKey;
|
||||||
CTransaction::joinsplit_sig_t joinSplitSig = {0};
|
CTransaction::joinsplit_sig_t joinSplitSig = {{0}};
|
||||||
|
|
||||||
CMutableTransaction();
|
CMutableTransaction();
|
||||||
CMutableTransaction(const CTransaction& tx);
|
CMutableTransaction(const CTransaction& tx);
|
||||||
|
|
Loading…
Reference in New Issue