diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-07-15 12:59:58 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-07-15 19:09:36 +0100 |
commit | 63e342be8452510abb67bfe24df90a0972a4edfd (patch) | |
tree | 68f3c93f8bd6ee3ceb93a86dc65cdd1f25b01bc1 /src/crypto/crypto.h | |
parent | Merge pull request #4094 (diff) | |
download | monero-63e342be8452510abb67bfe24df90a0972a4edfd.tar.xz |
crypto: move null_pkey/null_skey to the cpp file
Diffstat (limited to 'src/crypto/crypto.h')
-rw-r--r-- | src/crypto/crypto.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crypto/crypto.h b/src/crypto/crypto.h index 9ea0f2ec0..492bf966e 100644 --- a/src/crypto/crypto.h +++ b/src/crypto/crypto.h @@ -277,8 +277,8 @@ namespace crypto { epee::to_hex::formatted(o, epee::as_byte_span(v)); return o; } - const static crypto::public_key null_pkey = boost::value_initialized<crypto::public_key>(); - const static crypto::secret_key null_skey = boost::value_initialized<crypto::secret_key>(); + const extern crypto::public_key null_pkey; + const extern crypto::secret_key null_skey; } CRYPTO_MAKE_HASHABLE(public_key) |