summaryrefslogtreecommitdiff
path: root/cpp/src/tests/logging.cpp
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2012-03-15 19:40:08 +0000
committerAndrew Stitcher <astitcher@apache.org>2012-03-15 19:40:08 +0000
commit948454b7018b35096ae0454c1260dc69244d9946 (patch)
tree99fd61f58d641f4f1e0f45326e78996bd5cdab38 /cpp/src/tests/logging.cpp
parentc421c9f947ff9e75234e58fe3f67309cb41a411b (diff)
downloadqpid-python-948454b7018b35096ae0454c1260dc69244d9946.tar.gz
NO-JIRA: Remove some namespace polluting "using namespace boost" declarations
- Blanket "using namespace" declarations like these are BAD, they can change the symbols imported into your namespace and you have no control over this. - Needed to make QPID-3893 compile on windows git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1301168 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/logging.cpp')
-rw-r--r--cpp/src/tests/logging.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/cpp/src/tests/logging.cpp b/cpp/src/tests/logging.cpp
index dcecf0b54c..5d5bb1feef 100644
--- a/cpp/src/tests/logging.cpp
+++ b/cpp/src/tests/logging.cpp
@@ -44,8 +44,10 @@ namespace tests {
QPID_AUTO_TEST_SUITE(loggingTestSuite)
using namespace std;
-using namespace boost;
using namespace qpid::log;
+using boost::ends_with;
+using boost::contains;
+using boost::format;
QPID_AUTO_TEST_CASE(testStatementInit) {
Statement s=QPID_LOG_STATEMENT_INIT(debug); int line=__LINE__;