diff options
| author | Alan Conway <aconway@apache.org> | 2008-04-07 20:42:28 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2008-04-07 20:42:28 +0000 |
| commit | 7b6b7cb9e94b906eedf416fb2d4e72124f757329 (patch) | |
| tree | 0caded4bdd5595fc7f7babafee84dc6bab782239 /cpp | |
| parent | bae955cf2c4b640f83a00a032c879bf9795687bf (diff) | |
| download | qpid-python-7b6b7cb9e94b906eedf416fb2d4e72124f757329.tar.gz | |
Fix rhel5 build errors.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@645670 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
| -rw-r--r-- | cpp/src/qpid/amqp_0_10/Packer.h | 1 | ||||
| -rw-r--r-- | cpp/src/tests/amqp_0_10/serialize.cpp | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/qpid/amqp_0_10/Packer.h b/cpp/src/qpid/amqp_0_10/Packer.h index 1005ef34aa..ebb0488525 100644 --- a/cpp/src/qpid/amqp_0_10/Packer.h +++ b/cpp/src/qpid/amqp_0_10/Packer.h @@ -23,6 +23,7 @@ */ #include <boost/optional.hpp> +#include <boost/none.hpp> namespace qpid { namespace amqp_0_10 { diff --git a/cpp/src/tests/amqp_0_10/serialize.cpp b/cpp/src/tests/amqp_0_10/serialize.cpp index dcf27e457a..7db9c8db5a 100644 --- a/cpp/src/tests/amqp_0_10/serialize.cpp +++ b/cpp/src/tests/amqp_0_10/serialize.cpp @@ -302,7 +302,7 @@ BOOST_AUTO_TEST_CASE(testPacked) { const char* missing = "\5xy"; Codec::decode(missing)(dummy); BOOST_CHECK(dummy.i); - BOOST_CHECK_EQUAL(dummy.i, 'x'); + BOOST_CHECK_EQUAL(*dummy.i, 'x'); BOOST_CHECK(!dummy.j); BOOST_CHECK_EQUAL(dummy.k, 'y'); } |
