diff options
author | Gordon Sim <gsim@apache.org> | 2006-11-22 16:18:06 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2006-11-22 16:18:06 +0000 |
commit | f6b81bf19f1e9c5a6299516f030623bd41a73e56 (patch) | |
tree | 50ad4b3e91738c87d18a5e28eebf40e249f5f8df /cpp/test/client | |
parent | 6e1582a62b461e389a7b65ca0053e3cc52f3dc27 (diff) | |
download | qpid-python-f6b81bf19f1e9c5a6299516f030623bd41a73e56.tar.gz |
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
Diffstat (limited to 'cpp/test/client')
-rw-r--r-- | cpp/test/client/client_test.cpp | 1 | ||||
-rw-r--r-- | cpp/test/client/echo_service.cpp | 1 | ||||
-rw-r--r-- | cpp/test/client/topic_listener.cpp | 1 | ||||
-rw-r--r-- | cpp/test/client/topic_publisher.cpp | 1 |
4 files changed, 4 insertions, 0 deletions
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; |