From 3fdc5fee1864c759bceabaa61e104f954b9d1180 Mon Sep 17 00:00:00 2001 From: practicalswift Date: Wed, 2 May 2018 13:56:20 +0200 Subject: Make sure initialization occurs in the constructor --- src/qt/rpcconsole.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/qt/rpcconsole.h') diff --git a/src/qt/rpcconsole.h b/src/qt/rpcconsole.h index 26ce2af728..a53c4c24f9 100644 --- a/src/qt/rpcconsole.h +++ b/src/qt/rpcconsole.h @@ -145,13 +145,13 @@ private: }; interfaces::Node& m_node; - Ui::RPCConsole *ui = nullptr; + Ui::RPCConsole* const ui; ClientModel *clientModel = nullptr; QStringList history; int historyPtr = 0; QString cmdBeforeBrowsing; QList cachedNodeids; - const PlatformStyle *platformStyle = nullptr; + const PlatformStyle* const platformStyle; RPCTimerInterface *rpcTimerInterface = nullptr; QMenu *peersTableContextMenu = nullptr; QMenu *banTableContextMenu = nullptr; -- cgit v1.2.3