summaryrefslogtreecommitdiff
path: root/cpp/src/tests
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2008-04-03 17:23:34 +0000
committerAlan Conway <aconway@apache.org>2008-04-03 17:23:34 +0000
commit9fb7885893067b5924aac26502433cec7212d6c7 (patch)
treefe49b09280be5a8e16ca36f81a58f2c903ce9167 /cpp/src/tests
parentbffa2485f1e33eb1a273d2b74149f0ccb0742c60 (diff)
downloadqpid-python-9fb7885893067b5924aac26502433cec7212d6c7.tar.gz
src/qpid/amqp_0_10/Map.h,.cpp: use preview encoding temporarily.
Misc cleanup for 0-10 encoding. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@644413 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests')
-rw-r--r--cpp/src/tests/amqp_0_10/Map.cpp5
-rw-r--r--cpp/src/tests/serialize.cpp7
2 files changed, 0 insertions, 12 deletions
diff --git a/cpp/src/tests/amqp_0_10/Map.cpp b/cpp/src/tests/amqp_0_10/Map.cpp
index 0a58a2134a..ad6f38b5d7 100644
--- a/cpp/src/tests/amqp_0_10/Map.cpp
+++ b/cpp/src/tests/amqp_0_10/Map.cpp
@@ -26,11 +26,6 @@
using namespace qpid::amqp_0_10;
using namespace std;
-namespace std {
-// Dummy += for back inserters so we can use them with the decoder.
-template <class C> back_insert_iterator<C>& operator+=(back_insert_iterator<C>& bi, size_t) { return bi; }
-}
-
QPID_AUTO_TEST_SUITE(MapTestSuite)
BOOST_AUTO_TEST_CASE(testGetSet) {
diff --git a/cpp/src/tests/serialize.cpp b/cpp/src/tests/serialize.cpp
index 1f576d6ee1..386f721338 100644
--- a/cpp/src/tests/serialize.cpp
+++ b/cpp/src/tests/serialize.cpp
@@ -60,15 +60,8 @@ std::ostream& operator<<(std::ostream& out, const AbsTime& t) {
} // qpid
-namespace std {
-// Dummy += for back inserters so we can use them with the decoder.
-template <class C> back_insert_iterator<C>& operator+=(back_insert_iterator<C>& bi, size_t) { return bi; }
-}
-
QPID_AUTO_TEST_SUITE(SerializeTestSuite)
-
-
using namespace std;
namespace mpl=boost::mpl;
using namespace qpid::amqp_0_10;