1
0
Fork 0
forked from lthn/blockchain

more compilation fixes

This commit is contained in:
sowle 2022-05-27 20:48:42 +02:00
parent bbb263b39a
commit d97e1dc955
No known key found for this signature in database
GPG key ID: C07A24B2D89D49FC
2 changed files with 3 additions and 3 deletions

View file

@ -17,7 +17,7 @@ public:
bool test()
{
const currency::txout_to_key& tx_out = boost::get<currency::txout_to_key>(boost::get<tx_out_bare>(m_tx.vout[0]).target);
const currency::txout_to_key& tx_out = boost::get<currency::txout_to_key>(boost::get<currency::tx_out_bare>(m_tx.vout[0]).target);
return currency::is_out_to_acc(m_bob.get_keys(), tx_out, m_tx_pub_key, 0);
}
};

View file

@ -15,7 +15,7 @@ void thread_pool_tests_simple()
{
utils::threads_pool pool;
pool.init();
std::atomic<uint64_t> count_jobs_finished = 0;
std::atomic<uint64_t> count_jobs_finished(0);
size_t i = 0;
for (; i != 10; i++)
{
@ -36,7 +36,7 @@ void thread_pool_tests()
{
utils::threads_pool pool;
pool.init();
std::atomic<uint64_t> count_jobs_finished = 0;
std::atomic<uint64_t> count_jobs_finished(0);
utils::threads_pool::jobs_container jobs;
size_t i = 0;