Author: tabish
Date: Wed Jan 17 11:03:52 2007
New Revision: 497126

URL: http://svn.apache.org/viewvc?view=rev&rev=497126
Log:
http://issues.apache.org/activemq/browse/AMQCPP-30

Modified:
    
incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/marshal/PrimitiveMapMarshaller.cpp
    
incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/marshal/PrimitiveMapMarshaller.h

Modified: 
incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/marshal/PrimitiveMapMarshaller.cpp
URL: 
http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/marshal/PrimitiveMapMarshaller.cpp?view=diff&rev=497126&r1=497125&r2=497126
==============================================================================
--- 
incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/marshal/PrimitiveMapMarshaller.cpp
 (original)
+++ 
incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/marshal/PrimitiveMapMarshaller.cpp
 Wed Jan 17 11:03:52 2007
@@ -33,10 +33,15 @@
 }
 
 ///////////////////////////////////////////////////////////////////////////////
-void PrimitiveMapMarshaller::marshal( const util::PrimitiveMap& map, 
+void PrimitiveMapMarshaller::marshal( const util::PrimitiveMap* map, 
                                       std::vector<unsigned char>& dest ) 
                                         throw ( cms::CMSException ) 
-{}
+{
+    if( map != NULL ) {
+    }
+    
+    return dest;
+}
 
 ///////////////////////////////////////////////////////////////////////////////
 void PrimitiveMapMarshaller::PrimitiveMap* unmarshal( 

Modified: 
incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/marshal/PrimitiveMapMarshaller.h
URL: 
http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/marshal/PrimitiveMapMarshaller.h?view=diff&rev=497126&r1=497125&r2=497126
==============================================================================
--- 
incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/marshal/PrimitiveMapMarshaller.h
 (original)
+++ 
incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/marshal/PrimitiveMapMarshaller.h
 Wed Jan 17 11:03:52 2007
@@ -43,7 +43,7 @@
          * @param Reference to a byte array to house the data
          * @throws CMSException
          */
-        static void marshal( const util::PrimitiveMap& map, 
+        static void marshal( const util::PrimitiveMap* map, 
                              std::vector<unsigned char>& dest ) throw ( 
cms::CMSException );        
 
         /**


Reply via email to