summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cpp/configure.ac4
-rw-r--r--cpp/src/qpid/framing/Handler.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/cpp/configure.ac b/cpp/configure.ac
index 4ba175a71c..6440b2ee09 100644
--- a/cpp/configure.ac
+++ b/cpp/configure.ac
@@ -142,6 +142,10 @@ AC_CHECK_LIB([cpg],[cpg_local_get],[cpg_lib=yes],[cpg_lib=no])
AC_CHECK_HEADER([openais/cpg.h],[cpg_h=yes])
test x$cpg_lib = xyes -a x$cpg_h = xyes && enable_CLUSTER=yes
+# FIXME aconway 2007-08-30: Disable cluster till build problems
+# are fixed
+enable_CLUSTER=no
+
if test x$enable_CLUSTER = xyes; then
AC_ARG_ENABLE([cluster],
[AS_HELP_STRING([--disable-cluster],
diff --git a/cpp/src/qpid/framing/Handler.h b/cpp/src/qpid/framing/Handler.h
index be49570f9b..3129e7d60e 100644
--- a/cpp/src/qpid/framing/Handler.h
+++ b/cpp/src/qpid/framing/Handler.h
@@ -47,7 +47,7 @@ struct Handler {
* linked list of handlers.
*/
struct Chain : public Handler<T> {
- Chain(Handler<T>* first) : Handler(first) {}
+ Chain(Handler<T>* first=0) : Handler(first) {}
void operator=(Handler<T>* h) { next = h; }
void handle(T t) { (*next)(t); }
// TODO aconway 2007-08-29: chain modifier ops here.