1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Split data handling code from the view.

This commit is contained in:
Bartosz Szreder
2018-02-13 14:57:47 +01:00
parent fbaf59c9a6
commit 9e3f18a62a
11 changed files with 2214 additions and 2099 deletions
+1 -1
View File
@@ -154,7 +154,7 @@ int Socket::Recv( void* _buf, int len, const timeval* tv )
}
}
bool Socket::Read( void* _buf, int len, const timeval* tv, bool(*exitCb)() )
bool Socket::Read( void* _buf, int len, const timeval* tv, std::function< bool() > exitCb )
{
auto buf = (char*)_buf;