mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-22 21:26:23 +00:00
chore(core): remove malformed whitespaces (#4244)
* from https://www.codefactor.io/repository/github/azerothcore/azerothcore-wotlk/issues?category=Style&groupId=838&lang=5&page=75
This commit is contained in:
@@ -51,7 +51,6 @@ inline uint32 GetMSTimeDiffToNow(uint32 oldMSTime)
|
||||
struct IntervalTimer
|
||||
{
|
||||
public:
|
||||
|
||||
IntervalTimer()
|
||||
|
||||
{
|
||||
@@ -96,7 +95,6 @@ public:
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
time_t _interval{0};
|
||||
time_t _current{0};
|
||||
};
|
||||
@@ -104,7 +102,6 @@ private:
|
||||
struct TimeTracker
|
||||
{
|
||||
public:
|
||||
|
||||
TimeTracker(time_t expiry)
|
||||
: i_expiryTime(expiry)
|
||||
{
|
||||
@@ -131,14 +128,12 @@ public:
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
time_t i_expiryTime;
|
||||
};
|
||||
|
||||
struct TimeTrackerSmall
|
||||
{
|
||||
public:
|
||||
|
||||
TimeTrackerSmall(uint32 expiry = 0)
|
||||
: i_expiryTime(expiry)
|
||||
{
|
||||
@@ -165,14 +160,12 @@ public:
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
int32 i_expiryTime;
|
||||
};
|
||||
|
||||
struct PeriodicTimer
|
||||
{
|
||||
public:
|
||||
|
||||
PeriodicTimer(int32 period, int32 start_time)
|
||||
: i_period(period), i_expireTime(start_time)
|
||||
{
|
||||
@@ -199,7 +192,6 @@ public:
|
||||
void TReset(int32 diff, int32 period) { i_expireTime += period > diff ? period : diff; }
|
||||
|
||||
private:
|
||||
|
||||
int32 i_period;
|
||||
int32 i_expireTime;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user