Renamed _stopped to mStopped

This commit is contained in:
Daniel Marjamäki 2018-06-16 22:34:50 +02:00
parent e08859e329
commit 4b9c6a11a2
2 changed files with 4 additions and 4 deletions

View File

@ -76,7 +76,7 @@ Timer::Timer(const std::string& str, unsigned int showtimeMode, TimerResultsIntf
, mTimerResults(timerResults)
, _start(0)
, _showtimeMode(showtimeMode)
, _stopped(false)
, mStopped(false)
{
if (showtimeMode != SHOWTIME_NONE)
_start = std::clock();
@ -89,7 +89,7 @@ Timer::~Timer()
void Timer::Stop()
{
if ((_showtimeMode != SHOWTIME_NONE) && !_stopped) {
if ((_showtimeMode != SHOWTIME_NONE) && !mStopped) {
const std::clock_t end = std::clock();
const std::clock_t diff = end - _start;
@ -102,5 +102,5 @@ void Timer::Stop()
}
}
_stopped = true;
mStopped = true;
}

View File

@ -81,7 +81,7 @@ private:
TimerResultsIntf* mTimerResults;
std::clock_t _start;
const unsigned int _showtimeMode;
bool _stopped;
bool mStopped;
};
//---------------------------------------------------------------------------
#endif // timerH