mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:34:59 +00:00
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:
parent
bff33c67ab
commit
744de5ec69
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ public:
|
|||
pthread_mutex_init(&m_mutex, &attr);
|
||||
#endif
|
||||
}
|
||||
~Mutex() { }
|
||||
~Mutex() = default;
|
||||
|
||||
void lock();
|
||||
void unlock();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue