mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-12 18:20:26 +01:00
clang/gcc fixes
This commit is contained in:
parent
df46368413
commit
2c445f3fb1
@ -185,8 +185,8 @@ protected:
|
||||
/// Returns reactor where this socket is already registered
|
||||
/// for polling, if found; otherwise returns null pointer.
|
||||
{
|
||||
ReactorVec::iterator it = _reactors.begin();
|
||||
ReactorVec::iterator end = _reactors.end();
|
||||
typename ReactorVec::iterator it = _reactors.begin();
|
||||
typename ReactorVec::iterator end = _reactors.end();
|
||||
for (; it != end; ++it)
|
||||
{
|
||||
if ((*it)->has(socket)) return it->get();
|
||||
|
@ -114,7 +114,7 @@ public:
|
||||
Poco::FastMutex::ScopedLock lock(_mutex);
|
||||
SocketImpl* sockImpl = socket.impl();
|
||||
return sockImpl &&
|
||||
(_socketMap.find(sockImpl->sockfd()) != _socketMap.end());
|
||||
(_socketMap.find(sockImpl) != _socketMap.end());
|
||||
}
|
||||
|
||||
bool empty() const
|
||||
|
Loading…
Reference in New Issue
Block a user