From 4a1121fbfee404c39059185fe35a3b2107391da7 Mon Sep 17 00:00:00 2001 From: "Stephen D. Huston" Date: Mon, 22 Jun 2009 15:55:38 +0000 Subject: Resolve Windows build errors/warnings git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@787286 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/src/qmf/ResilientConnection.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'qpid/cpp/src/qmf/ResilientConnection.cpp') diff --git a/qpid/cpp/src/qmf/ResilientConnection.cpp b/qpid/cpp/src/qmf/ResilientConnection.cpp index 7ebd0a47c1..3a32d11df4 100644 --- a/qpid/cpp/src/qmf/ResilientConnection.cpp +++ b/qpid/cpp/src/qmf/ResilientConnection.cpp @@ -27,6 +27,7 @@ #include #include #include +#include #include #include #include @@ -144,7 +145,7 @@ void RCSession::run() { try { subscriptions->run(); - } catch (exception& e) { + } catch (exception& /*e*/) { connImpl.sessionClosed(this); } } @@ -350,7 +351,7 @@ void ResilientConnectionImpl::run() delay *= delayFactor; } - ::sleep(delay); + ::qpid::sys::sleep(delay); } } @@ -373,7 +374,7 @@ void ResilientConnectionImpl::sessionClosed(RCSession*) void ResilientConnectionImpl::EnqueueEvent(ResilientConnectionEvent::EventKind kind, void* sessionContext, - const MessageImpl& message, + const qmf::MessageImpl& message, const string& errorText) { Mutex::ScopedLock _lock(lock); -- cgit v1.2.1