mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-29 16:21:29 +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
Notes:
sideshowbarker
2024-07-18 03:51:05 +09:00
Author: https://github.com/bgianfo Commit: https://github.com/SerenityOS/serenity/commit/744de5ec698 Pull-request: https://github.com/SerenityOS/serenity/pull/10053
|
@ -27,7 +27,7 @@ public:
|
|||
pthread_mutex_init(&m_mutex, &attr);
|
||||
#endif
|
||||
}
|
||||
~Mutex() { }
|
||||
~Mutex() = default;
|
||||
|
||||
void lock();
|
||||
void unlock();
|
||||
|
|
Loading…
Reference in a new issue