Skip to content

Commit d4095f7

Browse files
committed
Remove inline from MirrorTimer function declarations.
1 parent 614c093 commit d4095f7

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

src/game/Objects/MirrorTimer.h

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -45,29 +45,29 @@ class MirrorTimer
4545

4646
MirrorTimer(Type type) : m_type(type), m_scale(-1), m_spellId(0), m_status(UNCHANGED), m_active(false), m_frozen(false) {}
4747

48-
inline bool IsActive() const { return m_active; }
49-
inline bool IsRegenerating() const { return (m_scale > 0); }
50-
inline bool IsFrozen() const { return (m_frozen && !IsRegenerating()); }
48+
bool IsActive() const { return m_active; }
49+
bool IsRegenerating() const { return (m_scale > 0); }
50+
bool IsFrozen() const { return (m_frozen && !IsRegenerating()); }
5151

52-
inline Type GetType() const { return m_type; }
53-
inline uint32 GetRemaining() const { return (m_tracker.GetInterval() - m_tracker.GetCurrent()); }
54-
inline uint32 GetDuration() const { return m_tracker.GetInterval(); }
55-
inline int32 GetScale() const { return m_scale; }
56-
inline uint32 GetSpellId() const { return m_spellId; }
52+
Type GetType() const { return m_type; }
53+
uint32 GetRemaining() const { return (m_tracker.GetInterval() - m_tracker.GetCurrent()); }
54+
uint32 GetDuration() const { return m_tracker.GetInterval(); }
55+
int32 GetScale() const { return m_scale; }
56+
uint32 GetSpellId() const { return m_spellId; }
5757

58-
inline Status FetchStatus();
58+
Status FetchStatus();
5959

60-
inline void Stop();
60+
void Stop();
6161

62-
inline void Start(uint32 interval, uint32 spellId = 0);
63-
inline void Start(uint32 current, uint32 max, uint32 spellId);
62+
void Start(uint32 interval, uint32 spellId = 0);
63+
void Start(uint32 current, uint32 max, uint32 spellId);
6464

65-
inline void SetRemaining(uint32 duration);
66-
inline void SetDuration(uint32 duration);
65+
void SetRemaining(uint32 duration);
66+
void SetDuration(uint32 duration);
6767

68-
inline void SetFrozen(bool state);
68+
void SetFrozen(bool state);
6969

70-
inline void SetScale(int32 scale);
70+
void SetScale(int32 scale);
7171

7272
bool Update(uint32 diff);
7373

0 commit comments

Comments
 (0)