Move socket buffer size from header to source file.

This commit is contained in:
Bartosz Taudul 2019-12-08 23:14:48 +01:00
parent bb69b5fae2
commit d4f4b73d56
2 changed files with 3 additions and 2 deletions

View File

@ -62,6 +62,9 @@ void InitWinSock()
}
#endif
enum { BufSize = 128 * 1024 };
Socket::Socket()
: m_buf( (char*)tracy_malloc( BufSize ) )
, m_bufPtr( nullptr )

View File

@ -14,8 +14,6 @@ void InitWinSock();
class Socket
{
enum { BufSize = 128 * 1024 };
public:
Socket();
Socket( int sock );