From cc33fd8b9ca1fcc46824635156ac7b133b28d0ee Mon Sep 17 00:00:00 2001 From: sowle Date: Thu, 16 Jan 2025 04:24:00 +0100 Subject: [PATCH] fixed more serious warnings for gcc --- contrib/epee/include/gzip_encoding.h | 4 ++++ src/currency_core/currency_core.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/contrib/epee/include/gzip_encoding.h b/contrib/epee/include/gzip_encoding.h index e2e1ea2c..bea62d01 100644 --- a/contrib/epee/include/gzip_encoding.h +++ b/contrib/epee/include/gzip_encoding.h @@ -260,6 +260,10 @@ namespace net_utils m_pcb.reset(new abstract_callback(cb)); return content_encoding_gzip::update_in(piece_of_transfer); } + + virtual void stop(std::string& OUT collect_remains) override + {} + template bool stop(callback_t cb) {return true;} diff --git a/src/currency_core/currency_core.h b/src/currency_core/currency_core.h index feeca5f4..32f62b0d 100644 --- a/src/currency_core/currency_core.h +++ b/src/currency_core/currency_core.h @@ -136,8 +136,8 @@ namespace currency void check_free_space(); - blockchain_storage m_blockchain_storage; tx_memory_pool m_mempool; + blockchain_storage m_blockchain_storage; i_currency_protocol* m_pprotocol; i_critical_error_handler* m_critical_error_handler; epee::critical_section m_incoming_tx_lock;