From 5d2652c7db93b599f906d3e2dac0ecc3e1508f9e Mon Sep 17 00:00:00 2001 From: Jack_AgoraDesk <141429711+jiwruzim@users.noreply.github.com> Date: Sat, 14 Oct 2023 02:01:57 +0300 Subject: [PATCH] Change Access Level of m_w2 field in monero_wallet_full class (#41) Access level of m_w2 field in monero_wallet_full class changed from private to protected. --- src/wallet/monero_wallet_full.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/wallet/monero_wallet_full.h b/src/wallet/monero_wallet_full.h index af50312..93a7e99 100644 --- a/src/wallet/monero_wallet_full.h +++ b/src/wallet/monero_wallet_full.h @@ -252,11 +252,15 @@ namespace monero { std::string get_keys_file_buffer(const epee::wipeable_string& password, bool view_only) const; std::string get_cache_file_buffer() const; + // --------------------------------- PROTECTED -------------------------------- + + protected: + std::unique_ptr m_w2; // internal wallet implementation + // ---------------------------------- PRIVATE --------------------------------- private: friend struct wallet2_listener; - std::unique_ptr m_w2; // internal wallet implementation std::unique_ptr m_w2_listener; // internal wallet implementation listener std::set m_listeners; // external wallet listeners