activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1372647 - /activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/kernels/ActiveMQConsumerKernel.cpp
Date Mon, 13 Aug 2012 22:04:38 GMT
Author: tabish
Date: Mon Aug 13 22:04:37 2012
New Revision: 1372647

URL: http://svn.apache.org/viewvc?rev=1372647&view=rev
Log:
hide the internal classes in an anonymous namespace to prevent name clashes with other internals
under some compilers. 

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/kernels/ActiveMQConsumerKernel.cpp

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/kernels/ActiveMQConsumerKernel.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/kernels/ActiveMQConsumerKernel.cpp?rev=1372647&r1=1372646&r2=1372647&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/kernels/ActiveMQConsumerKernel.cpp
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/kernels/ActiveMQConsumerKernel.cpp
Mon Aug 13 22:04:37 2012
@@ -116,6 +116,11 @@ namespace kernels {
         }
     };
 
+}}}
+
+////////////////////////////////////////////////////////////////////////////////
+namespace {
+
     /**
      * Class used to deal with consumers in an active transaction.  This
      * class calls back into the consumer when the transaction is Committed or
@@ -296,7 +301,7 @@ namespace kernels {
         }
     };
 
-}}}
+}
 
 ////////////////////////////////////////////////////////////////////////////////
 ActiveMQConsumerKernel::ActiveMQConsumerKernel(ActiveMQSessionKernel* session,



Mime
View raw message