activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r819935 - /activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/DeliveryMode.h
Date Tue, 29 Sep 2009 13:21:27 GMT
Author: tabish
Date: Tue Sep 29 13:21:27 2009
New Revision: 819935

URL: http://svn.apache.org/viewvc?rev=819935&view=rev
Log:
Fix for https://issues.apache.org/activemq/browse/AMQCPP-263

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/DeliveryMode.h

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/DeliveryMode.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/DeliveryMode.h?rev=819935&r1=819934&r2=819935&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/DeliveryMode.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/DeliveryMode.h Tue Sep 29 13:21:27
2009
@@ -51,8 +51,10 @@
         /**
          * Enumeration values for Message Delivery Mode
          */
-        static const int PERSISTENT = 0;
-        static const int NON_PERSISTENT = 1;
+        enum DELIVERY_MODE {
+            PERSISTENT = 0,
+            NON_PERSISTENT = 1
+        };
 
     };
 



Mime
View raw message