From 404b6c7c74fd1eecb54b63e13073b4a093a475b0 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Sat, 31 May 2025 15:56:53 +0800 Subject: style: remove unncessary Hyprutils::OS NS --- src/session.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/session.cpp') 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 CSession::CSession() { - m_sockfd = Hyprutils::OS::CFileDescriptor{accept(g_pServer->getSocket()->get(), reinterpret_cast(&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(&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"); -- cgit v1.2.3