summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/qmf/ResilientConnection.cpp
diff options
context:
space:
mode:
authorStephen D. Huston <shuston@apache.org>2009-06-22 15:55:38 +0000
committerStephen D. Huston <shuston@apache.org>2009-06-22 15:55:38 +0000
commit4a1121fbfee404c39059185fe35a3b2107391da7 (patch)
tree8f580da7536d54689d19ac1faf0b8ec7fd62f7d8 /qpid/cpp/src/qmf/ResilientConnection.cpp
parenta2675b4c60e953fd1d39aa731f9d35a5924f0a7a (diff)
downloadqpid-python-4a1121fbfee404c39059185fe35a3b2107391da7.tar.gz
Resolve Windows build errors/warnings
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@787286 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/qmf/ResilientConnection.cpp')
-rw-r--r--qpid/cpp/src/qmf/ResilientConnection.cpp7
1 files changed, 4 insertions, 3 deletions
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 <qpid/sys/Runnable.h>
#include <qpid/sys/Mutex.h>
#include <qpid/sys/Condition.h>
+#include <qpid/sys/Time.h>
#include <qpid/log/Statement.h>
#include <qpid/RefCounted.h>
#include <boost/bind.hpp>
@@ -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);