summaryrefslogtreecommitdiff
path: root/cpp/src/tests/TxPublishTest.cpp
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2012-05-16 22:28:22 +0000
committerAndrew Stitcher <astitcher@apache.org>2012-05-16 22:28:22 +0000
commitb554a07a420bdc581ba8f0fcaef5851cc2359393 (patch)
treedb5cbf9a29b1b54a6408dae7ca737fa759b26199 /cpp/src/tests/TxPublishTest.cpp
parente48b6fa55c0c52f6da6163ade16e70ea3603a9f5 (diff)
downloadqpid-python-b554a07a420bdc581ba8f0fcaef5851cc2359393.tar.gz
QPID-4005: Eliminate "using" especially "using namespace" from header file
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1339403 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/TxPublishTest.cpp')
-rw-r--r--cpp/src/tests/TxPublishTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/tests/TxPublishTest.cpp b/cpp/src/tests/TxPublishTest.cpp
index 152581e4ba..a636646035 100644
--- a/cpp/src/tests/TxPublishTest.cpp
+++ b/cpp/src/tests/TxPublishTest.cpp
@@ -69,9 +69,9 @@ QPID_AUTO_TEST_CASE(testPrepare)
//ensure messages are enqueued in store
t.op.prepare(0);
BOOST_CHECK_EQUAL((size_t) 2, t.store.enqueued.size());
- BOOST_CHECK_EQUAL(string("queue1"), t.store.enqueued[0].first);
+ BOOST_CHECK_EQUAL(std::string("queue1"), t.store.enqueued[0].first);
BOOST_CHECK_EQUAL(pmsg, t.store.enqueued[0].second);
- BOOST_CHECK_EQUAL(string("queue2"), t.store.enqueued[1].first);
+ BOOST_CHECK_EQUAL(std::string("queue2"), t.store.enqueued[1].first);
BOOST_CHECK_EQUAL(pmsg, t.store.enqueued[1].second);
BOOST_CHECK_EQUAL( true, ( boost::static_pointer_cast<PersistableMessage>(t.msg))->isIngressComplete());
}