diff --git a/common/TracySocket.cpp b/common/TracySocket.cpp index 96fb9e44..829d2d8c 100644 --- a/common/TracySocket.cpp +++ b/common/TracySocket.cpp @@ -154,7 +154,7 @@ int Socket::Recv( void* _buf, int len, const timeval* tv ) } } -bool Socket::Read( void* _buf, int len, const timeval* tv, std::function< bool() > exitCb ) +bool Socket::Read( void* _buf, int len, const timeval* tv, std::function exitCb ) { auto buf = (char*)_buf; diff --git a/common/TracySocket.hpp b/common/TracySocket.hpp index 8eafa603..fa29274f 100644 --- a/common/TracySocket.hpp +++ b/common/TracySocket.hpp @@ -21,7 +21,7 @@ public: int Send( const void* buf, int len ); int Recv( void* buf, int len, const timeval* tv ); - bool Read( void* buf, int len, const timeval* tv, std::function< bool() > exitCb ); + bool Read( void* buf, int len, const timeval* tv, std::function exitCb ); bool HasData(); Socket( const Socket& ) = delete;