Remove unnecessary this-> expressions
This commit is contained in:
parent
17e7f85c06
commit
15369fdb1d
39 changed files with 160 additions and 160 deletions
|
|
@ -40,12 +40,12 @@
|
|||
#ifdef DEV_ENABLED
|
||||
// Includes safety checks to ensure that a queue set as a thread singleton override
|
||||
// is only ever called from the thread it was set for.
|
||||
#define LOCK_MUTEX \
|
||||
if (this != MessageQueue::thread_singleton) { \
|
||||
DEV_ASSERT(!this->is_current_thread_override); \
|
||||
mutex.lock(); \
|
||||
} else { \
|
||||
DEV_ASSERT(this->is_current_thread_override); \
|
||||
#define LOCK_MUTEX \
|
||||
if (this != MessageQueue::thread_singleton) { \
|
||||
DEV_ASSERT(!is_current_thread_override); \
|
||||
mutex.lock(); \
|
||||
} else { \
|
||||
DEV_ASSERT(is_current_thread_override); \
|
||||
}
|
||||
#else
|
||||
#define LOCK_MUTEX \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue