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 12:29:03 +0200 |
commit | 117f9501d8edbd4dc378d1ff070b79fd4277f158 (patch) | |
tree | 3bfd72c57bde7d94bd095032dbc08af22e1caa36 /src/cryptonote_basic/miner.h | |
parent | Merge pull request #5584 (diff) | |
download | monero-117f9501d8edbd4dc378d1ff070b79fd4277f158.tar.xz |
miner: fix double free of thread attributes
issue: #5568
Diffstat (limited to 'src/cryptonote_basic/miner.h')
-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(); |