diff options
| author | Alan Conway <aconway@apache.org> | 2012-06-14 20:10:13 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2012-06-14 20:10:13 +0000 |
| commit | 9c982b1fc1a314291d3dd96b9969c0977cb93fec (patch) | |
| tree | d47dc166710e39c42d7cf559f4ead88562ce6a6e /cpp | |
| parent | 9d7f4a34f5d2c0769460b558cf6573ea586f31f6 (diff) | |
| download | qpid-python-9c982b1fc1a314291d3dd96b9969c0977cb93fec.tar.gz | |
NO-JIRA: Fix build errors and warnings on windows in HA code.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1350383 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
| -rw-r--r-- | cpp/src/qpid/ha/Primary.cpp | 2 | ||||
| -rw-r--r-- | cpp/src/qpid/ha/QueueGuard.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/qpid/ha/Primary.cpp b/cpp/src/qpid/ha/Primary.cpp index 57231032ff..05dfb539be 100644 --- a/cpp/src/qpid/ha/Primary.cpp +++ b/cpp/src/qpid/ha/Primary.cpp @@ -73,7 +73,7 @@ Primary::Primary(HaBroker& hb, const BrokerInfo::Set& expect) : } else { QPID_LOG(debug, logPrefix << "Expected backups: " << expect); - for (BrokerInfo::Set::iterator i = expect.begin(); i != expect.end(); ++i) { + for (BrokerInfo::Set::const_iterator i = expect.begin(); i != expect.end(); ++i) { bool guard = true; // Create queue guards immediately for expected backups. boost::shared_ptr<RemoteBackup> backup( new RemoteBackup(*i, haBroker.getBroker(), haBroker.getReplicationTest(), guard)); diff --git a/cpp/src/qpid/ha/QueueGuard.h b/cpp/src/qpid/ha/QueueGuard.h index cf6e39e96c..1f8c117d0b 100644 --- a/cpp/src/qpid/ha/QueueGuard.h +++ b/cpp/src/qpid/ha/QueueGuard.h @@ -34,7 +34,7 @@ namespace qpid { namespace broker { class Queue; -class QueuedMessage; +struct QueuedMessage; class Message; } |
