Kernel: Assign Lock names in class member initializers.

This commit is contained in:
Andreas Kling 2019-05-02 03:28:20 +02:00
parent 2dc72bb297
commit c3b7ace3e0
Notes: sideshowbarker 2024-07-19 14:21:53 +09:00
12 changed files with 11 additions and 18 deletions

View file

@ -19,8 +19,7 @@ KResultOr<Retained<Socket>> Socket::create(int domain, int type, int protocol)
}
Socket::Socket(int domain, int type, int protocol)
: m_lock("Socket")
, m_domain(domain)
: m_domain(domain)
, m_type(type)
, m_protocol(protocol)
{