From 65c29f1810e2fa2e445f536db49218fcf4b0d6f4 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Wed, 3 Dec 2008 01:51:04 +0000 Subject: Fix bad assert(), causing compile failures in debug builds. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@722712 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/cluster/Event.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/src/qpid/cluster/Event.cpp') diff --git a/cpp/src/qpid/cluster/Event.cpp b/cpp/src/qpid/cluster/Event.cpp index b787ef0f67..0e55d7bce3 100644 --- a/cpp/src/qpid/cluster/Event.cpp +++ b/cpp/src/qpid/cluster/Event.cpp @@ -63,7 +63,7 @@ bool Event::mcast (Cpg& cpg) const { b.putOctet(type); b.putLongLong(reinterpret_cast(connectionId.getPointer())); b.putLong(id); - assert(buf.getPosition() == OVERHEAD); + assert(b.getPosition() == OVERHEAD); iovec iov[] = { { header, OVERHEAD }, { const_cast(getData()), getSize() } }; return cpg.mcast(iov, sizeof(iov)/sizeof(*iov)); } -- cgit v1.2.1