summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/sys/ClusterSafe.h
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2010-06-22 18:13:35 +0000
committerAlan Conway <aconway@apache.org>2010-06-22 18:13:35 +0000
commit8aacf32a0c8e57980c3f51bdd42f48b3c040c444 (patch)
treeaa9e80ae68cc94d148101c806fb905f44f5254e1 /cpp/src/qpid/sys/ClusterSafe.h
parenta96bb7e1502658729f5c418c084f486bc106f111 (diff)
downloadqpid-python-8aacf32a0c8e57980c3f51bdd42f48b3c040c444.tar.gz
Fix bad assertion introduced in prevoius commit r956882
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@956965 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/sys/ClusterSafe.h')
-rw-r--r--cpp/src/qpid/sys/ClusterSafe.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/cpp/src/qpid/sys/ClusterSafe.h b/cpp/src/qpid/sys/ClusterSafe.h
index f3382307d0..15675e8cc5 100644
--- a/cpp/src/qpid/sys/ClusterSafe.h
+++ b/cpp/src/qpid/sys/ClusterSafe.h
@@ -61,9 +61,12 @@ QPID_COMMON_EXTERN bool isCluster();
* and provides functions to assist detecting bugs in cluster
* behavior.
*/
-struct ClusterSafeScope {
+class ClusterSafeScope {
+ public:
ClusterSafeScope();
~ClusterSafeScope();
+ private:
+ bool save;
};
/**