LibThreading: Use default instead of an empty constructor/destructor

Default implementations allow for more optimizations.
See: https://pvs-studio.com/en/docs/warnings/v832/
This commit is contained in:
Brian Gianforcaro 2021-09-16 00:20:03 -07:00 committed by Andreas Kling
parent bff33c67ab
commit 744de5ec69
Notes: sideshowbarker 2024-07-18 03:51:05 +09:00

View file

@ -27,7 +27,7 @@ public:
pthread_mutex_init(&m_mutex, &attr);
#endif
}
~Mutex() { }
~Mutex() = default;
void lock();
void unlock();