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 | 6746537c7111b2ce35d36996fd23c389d46e881c (patch) | |
| tree | ce85e0185197ad60abe6bf158db07ca6cb7bc507 /qpid/cpp/test | |
| parent | dd22996c515d00f8968e22cad596b6a93abc1b02 (diff) | |
| download | qpid-python-6746537c7111b2ce35d36996fd23c389d46e881c.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@478212 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/test')
| -rw-r--r-- | qpid/cpp/test/client/client_test.cpp | 1 | ||||
| -rw-r--r-- | qpid/cpp/test/client/echo_service.cpp | 1 | ||||
| -rw-r--r-- | qpid/cpp/test/client/topic_listener.cpp | 1 | ||||
| -rw-r--r-- | qpid/cpp/test/client/topic_publisher.cpp | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/qpid/cpp/test/client/client_test.cpp b/qpid/cpp/test/client/client_test.cpp index f9eca39bfe..18b162ec8a 100644 --- a/qpid/cpp/test/client/client_test.cpp +++ b/qpid/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/qpid/cpp/test/client/echo_service.cpp b/qpid/cpp/test/client/echo_service.cpp index 9d10610c83..f0aa49fd4b 100644 --- a/qpid/cpp/test/client/echo_service.cpp +++ b/qpid/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/qpid/cpp/test/client/topic_listener.cpp b/qpid/cpp/test/client/topic_listener.cpp index 3cc4cf4a15..413d482361 100644 --- a/qpid/cpp/test/client/topic_listener.cpp +++ b/qpid/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/qpid/cpp/test/client/topic_publisher.cpp b/qpid/cpp/test/client/topic_publisher.cpp index e6abdeca5b..d9f271e2f0 100644 --- a/qpid/cpp/test/client/topic_publisher.cpp +++ b/qpid/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; |
