summaryrefslogtreecommitdiff
path: root/qpid/cpp/src
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/cpp/src')
-rw-r--r--qpid/cpp/src/qpid/sys/ClusterSafe.h4
-rw-r--r--qpid/cpp/src/qpid/sys/windows/AsynchIO.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/qpid/cpp/src/qpid/sys/ClusterSafe.h b/qpid/cpp/src/qpid/sys/ClusterSafe.h
index 70f07a958a..abb9ad0fff 100644
--- a/qpid/cpp/src/qpid/sys/ClusterSafe.h
+++ b/qpid/cpp/src/qpid/sys/ClusterSafe.h
@@ -22,6 +22,8 @@
*
*/
+#include "qpid/CommonImportExport.h"
+
namespace qpid {
namespace sys {
@@ -37,7 +39,7 @@ namespace sys {
* This function is in the common library rather than the cluster
* library because it is called by code in the broker library.
*/
-void assertClusterSafe();
+QPID_COMMON_EXTERN void assertClusterSafe();
/**
* Base class for classes that encapsulate state which is replicated
diff --git a/qpid/cpp/src/qpid/sys/windows/AsynchIO.cpp b/qpid/cpp/src/qpid/sys/windows/AsynchIO.cpp
index 745ff187c8..96e7ee57c0 100644
--- a/qpid/cpp/src/qpid/sys/windows/AsynchIO.cpp
+++ b/qpid/cpp/src/qpid/sys/windows/AsynchIO.cpp
@@ -194,7 +194,7 @@ AsynchConnector::AsynchConnector(const Socket& sock,
{
}
-AsynchConnector::start(Poller::shared_ptr)
+void AsynchConnector::start(Poller::shared_ptr)
{
try {
socket.connect(hostname, port);
@@ -217,14 +217,12 @@ AsynchAcceptor* AsynchAcceptor::create(const Socket& s,
}
AsynchConnector* qpid::sys::AsynchConnector::create(const Socket& s,
- Poller::shared_ptr poller,
std::string hostname,
uint16_t port,
ConnectedCallback connCb,
FailedCallback failCb)
{
return new windows::AsynchConnector(s,
- poller,
hostname,
port,
connCb,