You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2012/08/14 00:04:38 UTC

svn commit: r1372647 - /activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/kernels/ActiveMQConsumerKernel.cpp

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,