forked from lthn/blockchain
more compilation fixes
This commit is contained in:
parent
bbb263b39a
commit
d97e1dc955
2 changed files with 3 additions and 3 deletions
|
|
@ -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);
|
||||
}
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue