summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/broker/System.cpp
diff options
context:
space:
mode:
authorTed Ross <tross@apache.org>2008-09-15 15:37:59 +0000
committerTed Ross <tross@apache.org>2008-09-15 15:37:59 +0000
commit33d9364f9c3bc648faa1d04f3c02e58a9e5ad284 (patch)
tree51699a22646fa02546da8b298b915df344646b8e /cpp/src/qpid/broker/System.cpp
parent5fc5a4610b2e85e245c752b81976dca36cc94666 (diff)
downloadqpid-python-33d9364f9c3bc648faa1d04f3c02e58a9e5ad284.tar.gz
QPID-1274 - Changed C++ namespace for generated management code. Improved efficiency of generated functions to use const references for non-simple types.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@695511 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/System.cpp')
-rw-r--r--cpp/src/qpid/broker/System.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/qpid/broker/System.cpp b/cpp/src/qpid/broker/System.cpp
index d562c43069..7b5e843e90 100644
--- a/cpp/src/qpid/broker/System.cpp
+++ b/cpp/src/qpid/broker/System.cpp
@@ -27,6 +27,7 @@
using qpid::management::ManagementAgent;
using namespace qpid::broker;
using namespace std;
+namespace _qmf = qmf::org::apache::qpid::broker;
System::System (string _dataDir) : mgmtObject(0)
{
@@ -62,7 +63,7 @@ System::System (string _dataDir) : mgmtObject(0)
}
}
- mgmtObject = new management::System (agent, this, systemId);
+ mgmtObject = new _qmf::System (agent, this, systemId);
struct utsname _uname;
if (uname (&_uname) == 0)
{