From f6b81bf19f1e9c5a6299516f030623bd41a73e56 Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Wed, 22 Nov 2006 16:18:06 +0000 Subject: Enclose any 'using std::string' statements within qpid namespaces to avoid pollution of global namespaces. Explicit use of std::string in many places, especially for client APIs where not already done. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@478212 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/test/client/client_test.cpp | 1 + cpp/test/client/echo_service.cpp | 1 + cpp/test/client/topic_listener.cpp | 1 + cpp/test/client/topic_publisher.cpp | 1 + 4 files changed, 4 insertions(+) (limited to 'cpp/test/client') diff --git a/cpp/test/client/client_test.cpp b/cpp/test/client/client_test.cpp index f9eca39bfe..18b162ec8a 100644 --- a/cpp/test/client/client_test.cpp +++ b/cpp/test/client/client_test.cpp @@ -30,6 +30,7 @@ using namespace qpid::client; using namespace qpid::sys; +using std::string; class SimpleListener : public virtual MessageListener{ Monitor* monitor; diff --git a/cpp/test/client/echo_service.cpp b/cpp/test/client/echo_service.cpp index 9d10610c83..f0aa49fd4b 100644 --- a/cpp/test/client/echo_service.cpp +++ b/cpp/test/client/echo_service.cpp @@ -30,6 +30,7 @@ using namespace qpid::client; using namespace qpid::sys; +using std::string; class EchoServer : public MessageListener{ Channel* const channel; diff --git a/cpp/test/client/topic_listener.cpp b/cpp/test/client/topic_listener.cpp index 3cc4cf4a15..413d482361 100644 --- a/cpp/test/client/topic_listener.cpp +++ b/cpp/test/client/topic_listener.cpp @@ -30,6 +30,7 @@ using namespace qpid::client; using namespace qpid::sys; +using std::string; class Listener : public MessageListener{ Channel* const channel; diff --git a/cpp/test/client/topic_publisher.cpp b/cpp/test/client/topic_publisher.cpp index e6abdeca5b..d9f271e2f0 100644 --- a/cpp/test/client/topic_publisher.cpp +++ b/cpp/test/client/topic_publisher.cpp @@ -32,6 +32,7 @@ using namespace qpid::client; using namespace qpid::sys; +using std::string; class Publisher : public MessageListener{ Channel* const channel; -- cgit v1.2.1