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.
This commit is contained in:
Jack_AgoraDesk
2023-10-13 19:01:57 -04:00
committed by GitHub
parent ebad8f432f
commit 5d2652c7db
+5 -1
View File
@@ -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<tools::wallet2> m_w2; // internal wallet implementation
// ---------------------------------- PRIVATE ---------------------------------
private:
friend struct wallet2_listener;
std::unique_ptr<tools::wallet2> m_w2; // internal wallet implementation
std::unique_ptr<wallet2_listener> m_w2_listener; // internal wallet implementation listener
std::set<monero_wallet_listener*> m_listeners; // external wallet listeners