aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2015-12-17 22:44:20 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2015-12-17 22:47:13 +0000
commit01e92ebdb0ccee9f9f41eee44284d54ccffd82a6 (patch)
treeeba56f9ed8ec8eaefb1bdf8db08fa96a0df4e796 /src/cryptonote_core
parentMerge pull request #541 (diff)
downloadmonero-01e92ebdb0ccee9f9f41eee44284d54ccffd82a6.tar.xz
replace std::auto_ptr with std::unique_ptr
The former is obsolete
Diffstat (limited to '')
-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++)