1
0
Fork 0
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:
reuk 2020-04-26 17:23:53 +01:00
parent 2f45814bfc
commit 4cf66d6522
45 changed files with 169 additions and 205 deletions

View file

@ -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);
}

View file

@ -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);