clang/gcc fixes

This commit is contained in:
Alex Fabijanic
2018-05-01 13:51:29 -05:00
parent df46368413
commit 2c445f3fb1
2 changed files with 3 additions and 3 deletions

View File

@@ -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