diff options
author | Andrew Stitcher <astitcher@apache.org> | 2012-03-15 19:40:08 +0000 |
---|---|---|
committer | Andrew Stitcher <astitcher@apache.org> | 2012-03-15 19:40:08 +0000 |
commit | d45294709c201629572033f9973767fd64a6c9a3 (patch) | |
tree | 99fd61f58d641f4f1e0f45326e78996bd5cdab38 /cpp/src/qpid/cluster/ClusterMap.cpp | |
parent | a19dcadf61f751ffd4bd1f8b8e13f4692c572b70 (diff) | |
download | qpid-python-d45294709c201629572033f9973767fd64a6c9a3.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/qpid/cluster/ClusterMap.cpp')
-rw-r--r-- | cpp/src/qpid/cluster/ClusterMap.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/qpid/cluster/ClusterMap.cpp b/cpp/src/qpid/cluster/ClusterMap.cpp index a8389095c9..12730d20ec 100644 --- a/cpp/src/qpid/cluster/ClusterMap.cpp +++ b/cpp/src/qpid/cluster/ClusterMap.cpp @@ -29,7 +29,8 @@ #include <ostream> using namespace std; -using namespace boost; +using boost::ref; +using boost::optional; namespace qpid { using namespace framing; |