From 7342f3bc19028d3734f45cb73fa409dd42214a8a Mon Sep 17 00:00:00 2001 From: Jonathan Robie Date: Mon, 8 Mar 2010 22:20:55 +0000 Subject: Changed name of XQilla EBV define to XQ_EXTENDED_BOOLEAN_VALUE_HPP. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@920545 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/xml/XmlExchange.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cpp/src/qpid/xml/XmlExchange.cpp') diff --git a/cpp/src/qpid/xml/XmlExchange.cpp b/cpp/src/qpid/xml/XmlExchange.cpp index b62245b6eb..fbf7566a18 100644 --- a/cpp/src/qpid/xml/XmlExchange.cpp +++ b/cpp/src/qpid/xml/XmlExchange.cpp @@ -34,7 +34,7 @@ #include -#ifndef XQILLA_2_1_3 +#ifdef XQ_EFFECTIVE_BOOLEAN_VALUE_HPP #include #endif @@ -184,11 +184,11 @@ bool XmlExchange::matches(Query& query, Deliverable& msg, const qpid::framing::F } Result result = query->execute(context.get()); -#ifndef XQILLA_2_1_3 +#ifdef XQ_EFFECTIVE_BOOLEAN_VALUE_HPP Item::Ptr first_ = result->next(context.get()); Item::Ptr second_ = result->next(context.get()); return XQEffectiveBooleanValue::get(first_, second_, context.get(), 0); -#else +#else return result->getEffectiveBooleanValue(context.get(), 0); #endif } -- cgit v1.2.1