diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2025-05-31 15:56:53 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2025-05-31 15:57:27 +0800 |
| commit | 404b6c7c74fd1eecb54b63e13073b4a093a475b0 (patch) | |
| tree | 80b088e48ca38840846f58027e321b8acb8d7c94 /src/session.cpp | |
| parent | c230f53a36520e2249905220408b2740786de59d (diff) | |
style: remove unncessary Hyprutils::OS NS
Diffstat (limited to 'src/session.cpp')
| -rw-r--r-- | src/session.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/session.cpp b/src/session.cpp index c12ea0b..1259dbe 100644 --- a/src/session.cpp +++ b/src/session.cpp @@ -12,7 +12,7 @@ #include <sys/socket.h> CSession::CSession() { - m_sockfd = Hyprutils::OS::CFileDescriptor{accept(g_pServer->getSocket()->get(), reinterpret_cast<sockaddr *>(&m_addr), &m_addrLen)}; // if this is in the init list, it will run before m_addrLen, so it won't work :/ + m_sockfd = CFileDescriptor{accept(g_pServer->getSocket()->get(), reinterpret_cast<sockaddr *>(&m_addr), &m_addrLen)}; // if this is in the init list, it will run before m_addrLen, so it won't work :/ if (!m_sockfd.isValid()) throw std::runtime_error("session: Failed to create socket"); |
