Remove unused member LoadManager::getUptime

This commit is contained in:
Vinnie Falco
2013-05-24 15:25:25 -07:00
parent 29c79ea614
commit c97860c7a8
2 changed files with 0 additions and 7 deletions

View File

@@ -324,12 +324,6 @@ Json::Value LoadFeeTrack::getJson(uint64 baseFee, uint32 referenceFeeUnits)
return j;
}
int LoadManager::getUptime()
{
boost::mutex::scoped_lock sl(mLock);
return mUptime;
}
static void LogDeadLock(int dlTime)
{
WriteLog (lsWARNING, LoadManager) << "Server stalled for " << dlTime << " seconds.";

View File

@@ -142,7 +142,6 @@ public:
void logDisconnect(const std::string&) const;
int getCost(LoadType t) { return mCosts[static_cast<int>(t)].mCost; }
int getUptime();
void noDeadLock();
void arm() { mArmed = true; }
};