diff options
| author | Andrew Stitcher <astitcher@apache.org> | 2012-03-22 18:51:28 +0000 |
|---|---|---|
| committer | Andrew Stitcher <astitcher@apache.org> | 2012-03-22 18:51:28 +0000 |
| commit | 0e03eaaa991f58c5d52cf9eb5ae8d763672a1e57 (patch) | |
| tree | a121a1ac3e7dc928c43b62c9d8ca280ab5d5cf19 /qpid/cpp/src/tests | |
| parent | de67f71f7c493c6de00695130bf1fb06e4fc3f49 (diff) | |
| download | qpid-python-0e03eaaa991f58c5d52cf9eb5ae8d763672a1e57.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/branches/0.16@1303980 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests')
| -rw-r--r-- | qpid/cpp/src/tests/Frame.cpp | 1 | ||||
| -rw-r--r-- | qpid/cpp/src/tests/SessionState.cpp | 1 | ||||
| -rw-r--r-- | qpid/cpp/src/tests/logging.cpp | 2 |
3 files changed, 1 insertions, 3 deletions
diff --git a/qpid/cpp/src/tests/Frame.cpp b/qpid/cpp/src/tests/Frame.cpp index 1270eabba3..cfcfde04a7 100644 --- a/qpid/cpp/src/tests/Frame.cpp +++ b/qpid/cpp/src/tests/Frame.cpp @@ -30,7 +30,6 @@ QPID_AUTO_TEST_SUITE(FrameTestSuite) using namespace std; using namespace qpid::framing; -using namespace boost; QPID_AUTO_TEST_CASE(testContentBody) { Frame f(42, AMQContentBody("foobar")); diff --git a/qpid/cpp/src/tests/SessionState.cpp b/qpid/cpp/src/tests/SessionState.cpp index 3be9bb0cbc..1cf3415484 100644 --- a/qpid/cpp/src/tests/SessionState.cpp +++ b/qpid/cpp/src/tests/SessionState.cpp @@ -34,7 +34,6 @@ namespace tests { QPID_AUTO_TEST_SUITE(SessionStateTestSuite) using namespace std; -using namespace boost; using namespace qpid::framing; // ================================================================ diff --git a/qpid/cpp/src/tests/logging.cpp b/qpid/cpp/src/tests/logging.cpp index fc55d642c3..66371fa8c5 100644 --- a/qpid/cpp/src/tests/logging.cpp +++ b/qpid/cpp/src/tests/logging.cpp @@ -43,8 +43,8 @@ namespace tests { QPID_AUTO_TEST_SUITE(loggingTestSuite) using namespace std; -using namespace boost; using namespace qpid::log; +using boost::format; QPID_AUTO_TEST_CASE(testStatementInit) { Statement s=QPID_LOG_STATEMENT_INIT(debug); int line=__LINE__; |
