You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ac...@apache.org on 2008/03/12 07:07:47 UTC
svn commit: r636211 -
/incubator/qpid/trunk/qpid/cpp/src/qpid/amqp_0_10/Segment.h
Author: aconway
Date: Tue Mar 11 23:07:44 2008
New Revision: 636211
URL: http://svn.apache.org/viewvc?rev=636211&view=rev
Log:
Fix build failure.
Modified:
incubator/qpid/trunk/qpid/cpp/src/qpid/amqp_0_10/Segment.h
Modified: incubator/qpid/trunk/qpid/cpp/src/qpid/amqp_0_10/Segment.h
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/cpp/src/qpid/amqp_0_10/Segment.h?rev=636211&r1=636210&r2=636211&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/cpp/src/qpid/amqp_0_10/Segment.h (original)
+++ incubator/qpid/trunk/qpid/cpp/src/qpid/amqp_0_10/Segment.h Tue Mar 11 23:07:44 2008
@@ -76,7 +76,7 @@
const_iterator() : frames(), p() {}
private:
-#ifndef NDEBUG
+
void invariant() const {
assert(frames);
assert(frames->begin() <= i);
@@ -88,7 +88,7 @@
invariant();
assert(p < i->end());
}
-#endif
+
const_iterator(const Frames& f, Frames::const_iterator pos, const char* ptr)
: frames(&f), i(pos), p(ptr) { skip_empty(); }