From 60eb312e3b377b54b55f2b9677bc648c88b8d3cd Mon Sep 17 00:00:00 2001 From: Nik Bougalis Date: Thu, 22 Jan 2015 19:20:21 -0800 Subject: [PATCH] Fix order of construction of Application members --- src/ripple/app/main/Application.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ripple/app/main/Application.cpp b/src/ripple/app/main/Application.cpp index e44ec8dd7..bf2f03b1a 100644 --- a/src/ripple/app/main/Application.cpp +++ b/src/ripple/app/main/Application.cpp @@ -177,6 +177,9 @@ public: beast::Journal m_journal; Application::LockType m_masterMutex; + // Required by the SHAMapStore + TransactionMaster m_txMaster; + NodeStoreScheduler m_nodeStoreScheduler; std::unique_ptr m_shaMapStore; std::unique_ptr m_nodeStore; @@ -186,7 +189,6 @@ public: TreeNodeCache m_treeNodeCache; SLECache m_sleCache; LocalCredentials m_localCredentials; - TransactionMaster m_txMaster; std::unique_ptr m_collectorManager; std::unique_ptr m_resourceManager;