From 57ab0a00b5c656fe0eea0107ed7923feb21f1888 Mon Sep 17 00:00:00 2001 From: Joe Loser Date: Fri, 11 May 2018 20:46:02 -0600 Subject: [PATCH] Rename member function in NetworkOPs.h --- src/ripple/app/main/Application.cpp | 2 +- src/ripple/app/misc/NetworkOPs.cpp | 2 +- src/ripple/app/misc/NetworkOPs.h | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/ripple/app/main/Application.cpp b/src/ripple/app/main/Application.cpp index 7f128e824a..bc3ca5460f 100644 --- a/src/ripple/app/main/Application.cpp +++ b/src/ripple/app/main/Application.cpp @@ -1200,7 +1200,7 @@ bool ApplicationImp::setup() { // This should probably become the default once we have a stable network. if (!config_->standalone()) - m_networkOPs->needNetworkLedger (); + m_networkOPs->setNeedNetworkLedger(); startGenesisLedger (); } diff --git a/src/ripple/app/misc/NetworkOPs.cpp b/src/ripple/app/misc/NetworkOPs.cpp index c9b1439611..8d0abb0b09 100644 --- a/src/ripple/app/misc/NetworkOPs.cpp +++ b/src/ripple/app/misc/NetworkOPs.cpp @@ -334,7 +334,7 @@ public: */ void setStateTimer () override; - void needNetworkLedger () override + void setNeedNetworkLedger () override { needNetworkLedger_ = true; } diff --git a/src/ripple/app/misc/NetworkOPs.h b/src/ripple/app/misc/NetworkOPs.h index 8389890819..26a8965e64 100644 --- a/src/ripple/app/misc/NetworkOPs.h +++ b/src/ripple/app/misc/NetworkOPs.h @@ -167,8 +167,7 @@ public: virtual void setStandAlone () = 0; virtual void setStateTimer () = 0; - // VFALCO TODO rename to setNeedNetworkLedger - virtual void needNetworkLedger () = 0; + virtual void setNeedNetworkLedger () = 0; virtual void clearNeedNetworkLedger () = 0; virtual bool isNeedNetworkLedger () = 0; virtual bool isFull () = 0;