aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2015-12-18 12:17:56 +0200
committerRiccardo Spagni <ric@spagni.net>2015-12-18 12:18:00 +0200
commit5d33b43d8d957b4ec8051f54a1d14af35226a6dd (patch)
tree1c990ef843dc0ecb09d4ec24dfa9f7787f02bc86 /src/cryptonote_core
parentMerge pull request #543 (diff)
parentreplace std::auto_ptr with std::unique_ptr (diff)
downloadmonero-5d33b43d8d957b4ec8051f54a1d14af35226a6dd.tar.xz
Merge pull request #544
01e92eb replace std::auto_ptr with std::unique_ptr (moneromooo-monero)
Diffstat (limited to 'src/cryptonote_core')
-rw-r--r--src/cryptonote_core/blockchain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptonote_core/blockchain.cpp b/src/cryptonote_core/blockchain.cpp
index bf7294375..45ddc45e9 100644
--- a/src/cryptonote_core/blockchain.cpp
+++ b/src/cryptonote_core/blockchain.cpp
@@ -2059,7 +2059,7 @@ bool Blockchain::check_tx_inputs(const transaction& tx, uint64_t* pmax_used_bloc
boost::asio::io_service ioservice;
boost::thread_group threadpool;
- std::auto_ptr < boost::asio::io_service::work > work(new boost::asio::io_service::work(ioservice));
+ std::unique_ptr < boost::asio::io_service::work > work(new boost::asio::io_service::work(ioservice));
if(threads > 1)
{
for (int i = 0; i < threads; i++)