From 347c74cec3450888141f29e54e985f46a0ea8324 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sat, 31 Mar 2018 01:06:35 +0200 Subject: [PATCH] Cosmetics. --- common/TracySocket.cpp | 2 +- common/TracySocket.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;