mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Cosmetic fix.
This commit is contained in:
@@ -37,6 +37,8 @@ void LoadMonitor::addCount(int counts)
|
||||
|
||||
void LoadMonitor::addLatency(int latency)
|
||||
{
|
||||
if (latency == 1)
|
||||
latency = 0;
|
||||
boost::mutex::scoped_lock sl(mLock);
|
||||
|
||||
update();
|
||||
@@ -52,6 +54,8 @@ void LoadMonitor::addLatency(int latency)
|
||||
|
||||
void LoadMonitor::addCountAndLatency(int counts, int latency)
|
||||
{
|
||||
if (latency == 1)
|
||||
latency = 0;
|
||||
boost::mutex::scoped_lock sl(mLock);
|
||||
|
||||
update();
|
||||
|
||||
Reference in New Issue
Block a user