mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Cleanup: Remove redundant inlines
This commit is contained in:
parent
2f45814bfc
commit
4cf66d6522
45 changed files with 169 additions and 205 deletions
|
|
@ -30,7 +30,7 @@ static const char* killMessage = "__ipc_k_";
|
|||
static const char* pingMessage = "__ipc_p_";
|
||||
enum { specialMessageSize = 8, defaultTimeoutMs = 8000 };
|
||||
|
||||
static inline bool isMessageType (const MemoryBlock& mb, const char* messageType) noexcept
|
||||
static bool isMessageType (const MemoryBlock& mb, const char* messageType) noexcept
|
||||
{
|
||||
return mb.matches (messageType, (size_t) specialMessageSize);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -136,7 +136,7 @@ public:
|
|||
callTimers();
|
||||
}
|
||||
|
||||
static inline void add (Timer* tim) noexcept
|
||||
static void add (Timer* tim) noexcept
|
||||
{
|
||||
if (instance == nullptr)
|
||||
instance = new TimerThread();
|
||||
|
|
@ -144,13 +144,13 @@ public:
|
|||
instance->addTimer (tim);
|
||||
}
|
||||
|
||||
static inline void remove (Timer* tim) noexcept
|
||||
static void remove (Timer* tim) noexcept
|
||||
{
|
||||
if (instance != nullptr)
|
||||
instance->removeTimer (tim);
|
||||
}
|
||||
|
||||
static inline void resetCounter (Timer* tim) noexcept
|
||||
static void resetCounter (Timer* tim) noexcept
|
||||
{
|
||||
if (instance != nullptr)
|
||||
instance->resetTimerCounter (tim);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue