mirror of
https://github.com/monero-project/monero.git
synced 2025-08-23 20:45:12 -04:00
Merge pull request #4137
63e342b
crypto: move null_pkey/null_skey to the cpp file (moneromooo-monero)0496c7c
crypto: do not use boost::value_initialized to init null skey/pkey (moneromooo-monero)
This commit is contained in:
commit
5295e4eb82
3 changed files with 13 additions and 3 deletions
|
@ -34,7 +34,6 @@
|
|||
#include <iostream>
|
||||
#include <boost/thread/mutex.hpp>
|
||||
#include <boost/thread/lock_guard.hpp>
|
||||
#include <boost/utility/value_init.hpp>
|
||||
#include <boost/optional.hpp>
|
||||
#include <type_traits>
|
||||
#include <vector>
|
||||
|
@ -278,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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue