From 6029d50080bb795524d6cefe8d6b4b9b88475bdd Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Tue, 10 Sep 2024 17:05:39 +0200 Subject: Move SocketException to rdr Socket APIs are used in more places than the abstraction in common/network. Make it easier to use this exception class by putting it in a more common place. --- common/network/Socket.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'common/network/Socket.h') diff --git a/common/network/Socket.h b/common/network/Socket.h index 7085d73a..34b8db8e 100644 --- a/common/network/Socket.h +++ b/common/network/Socket.h @@ -26,7 +26,6 @@ #include #include #include -#include namespace network { @@ -107,10 +106,6 @@ namespace network { ConnectionFilter* filter; }; - struct SocketException : public rdr::SystemException { - SocketException(const char* text, int err_) : rdr::SystemException(text, err_) {} - }; - } #endif // __NETWORK_SOCKET_H__ -- cgit v1.2.3