mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-13 10:32:57 +01:00
fix for pre-c++11 compilers
This commit is contained in:
parent
f140808fab
commit
b42900ee5b
@ -490,7 +490,7 @@ protected:
|
||||
void reset(poco_socket_t fd = POCO_INVALID_SOCKET);
|
||||
/// Allows subclasses to set the socket manually, iff no valid socket is set yet.
|
||||
|
||||
void checkBrokenTimeout(const SelectMode& mode);
|
||||
void checkBrokenTimeout(SelectMode mode);
|
||||
|
||||
static int lastError();
|
||||
/// Returns the last error code.
|
||||
|
@ -306,11 +306,11 @@ void SocketImpl::shutdown()
|
||||
}
|
||||
|
||||
|
||||
void SocketImpl::checkBrokenTimeout(const SelectMode& mode)
|
||||
void SocketImpl::checkBrokenTimeout(SelectMode mode)
|
||||
{
|
||||
if (_isBrokenTimeout)
|
||||
{
|
||||
Poco::Timespan timeout = (mode == SelectMode::SELECT_READ) ? _recvTimeout : _sndTimeout;
|
||||
Poco::Timespan timeout = (mode == SELECT_READ) ? _recvTimeout : _sndTimeout;
|
||||
if (timeout.totalMicroseconds() != 0)
|
||||
{
|
||||
if (!poll(timeout, mode))
|
||||
|
2
openssl
2
openssl
@ -1 +1 @@
|
||||
Subproject commit 0c6d16ec85f80ea3ce05a8f2ff52c1b3ba240a41
|
||||
Subproject commit 26b1673caad94a702b6d694f48f917a283b30777
|
Loading…
Reference in New Issue
Block a user