qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tr...@apache.org
Subject svn commit: r691734 - /incubator/qpid/trunk/qpid/cpp/src/qpid/management/ManagementBroker.cpp
Date Wed, 03 Sep 2008 19:06:42 GMT
Author: tross
Date: Wed Sep  3 12:06:42 2008
New Revision: 691734

URL: http://svn.apache.org/viewvc?rev=691734&view=rev
Log:
QPID-1174 Replaced copies with references (bugfix)

Modified:
    incubator/qpid/trunk/qpid/cpp/src/qpid/management/ManagementBroker.cpp

Modified: incubator/qpid/trunk/qpid/cpp/src/qpid/management/ManagementBroker.cpp
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/cpp/src/qpid/management/ManagementBroker.cpp?rev=691734&r1=691733&r2=691734&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/cpp/src/qpid/management/ManagementBroker.cpp (original)
+++ incubator/qpid/trunk/qpid/cpp/src/qpid/management/ManagementBroker.cpp Wed Sep  3 12:06:42
2008
@@ -602,7 +602,7 @@
 
     PackageMap::iterator pIter = packages.find(packageName);
     if (pIter != packages.end()) {
-        ClassMap cMap = pIter->second;
+        ClassMap& cMap = pIter->second;
         ClassMap::iterator cIter = cMap.find(key);
         if (cIter != cMap.end()) {
             Buffer   outBuffer(outputBuffer, MA_BUFFER_SIZE);
@@ -639,7 +639,7 @@
 
     PackageMap::iterator pIter = packages.find(packageName);
     if (pIter != packages.end()) {
-        ClassMap cMap = pIter->second;
+        ClassMap& cMap = pIter->second;
         ClassMap::iterator cIter = cMap.find(key);
         if (cIter != cMap.end() && cIter->second.pendingSequence == sequence)
{
             size_t length = ValidateSchema(inBuffer);



Mime
View raw message