diff options
author | Nathan Dorfman <ndorf@rtfm.net> | 2020-10-19 18:02:20 -0600 |
---|---|---|
committer | Nathan Dorfman <ndorf@rtfm.net> | 2020-10-19 18:23:07 -0600 |
commit | f1836ac28a4b302af177b953b3507360a113e0e0 (patch) | |
tree | 6a6a17036646087686d2f332634dedb032552611 /src/cryptonote_core | |
parent | Merge pull request #6891 (diff) | |
download | monero-f1836ac28a4b302af177b953b3507360a113e0e0.tar.xz |
cryptonote_core: Fix missing override warnings
Diffstat (limited to 'src/cryptonote_core')
-rw-r--r-- | src/cryptonote_core/cryptonote_core.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cryptonote_core/cryptonote_core.h b/src/cryptonote_core/cryptonote_core.h index 7c578ac51..b008d026e 100644 --- a/src/cryptonote_core/cryptonote_core.h +++ b/src/cryptonote_core/cryptonote_core.h @@ -224,14 +224,14 @@ namespace cryptonote * * @return true if the block was added to the main chain, otherwise false */ - virtual bool handle_block_found(block& b, block_verification_context &bvc); + virtual bool handle_block_found(block& b, block_verification_context &bvc) override; /** * @copydoc Blockchain::create_block_template * * @note see Blockchain::create_block_template */ - virtual bool get_block_template(block& b, const account_public_address& adr, difficulty_type& diffic, uint64_t& height, uint64_t& expected_reward, const blobdata& ex_nonce, uint64_t &seed_height, crypto::hash &seed_hash); + virtual bool get_block_template(block& b, const account_public_address& adr, difficulty_type& diffic, uint64_t& height, uint64_t& expected_reward, const blobdata& ex_nonce, uint64_t &seed_height, crypto::hash &seed_hash) override; virtual bool get_block_template(block& b, const crypto::hash *prev_block, const account_public_address& adr, difficulty_type& diffic, uint64_t& height, uint64_t& expected_reward, const blobdata& ex_nonce, uint64_t &seed_height, crypto::hash &seed_hash); /** |