diff options
author | ston1th <ston1th@users.noreply.github.com> | 2019-06-09 10:51:18 +0200 |
---|---|---|
committer | ston1th <ston1th@users.noreply.github.com> | 2019-06-09 10:51:18 +0200 |
commit | f2f207d63578735c875472cf56ad4dee787ba110 (patch) | |
tree | 0618e825b8ad4cb89f04195f46086b756bf0eb18 /src/cryptonote_basic/miner.h | |
parent | Merge pull request #5583 (diff) | |
download | monero-f2f207d63578735c875472cf56ad4dee787ba110.tar.xz |
miner: fix double free of thread attributes
issue: #5568
Diffstat (limited to '')
-rw-r--r-- | src/cryptonote_basic/miner.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptonote_basic/miner.h b/src/cryptonote_basic/miner.h index 285075f51..ac7a0381c 100644 --- a/src/cryptonote_basic/miner.h +++ b/src/cryptonote_basic/miner.h @@ -64,7 +64,7 @@ namespace cryptonote static void init_options(boost::program_options::options_description& desc); bool set_block_template(const block& bl, const difficulty_type& diffic, uint64_t height, uint64_t block_reward); bool on_block_chain_update(); - bool start(const account_public_address& adr, size_t threads_count, const boost::thread::attributes& attrs, bool do_background = false, bool ignore_battery = false); + bool start(const account_public_address& adr, size_t threads_count, bool do_background = false, bool ignore_battery = false); uint64_t get_speed() const; uint32_t get_threads_count() const; void send_stop_signal(); |