activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r674462 - in /activemq/activemq-cpp/trunk/src/main/activemq/support: InitDirector.cpp InitDirector.h
Date Mon, 07 Jul 2008 11:34:22 GMT
Author: tabish
Date: Mon Jul  7 04:34:22 2008
New Revision: 674462

URL: http://svn.apache.org/viewvc?rev=674462&view=rev
Log: (empty)

Modified:
    activemq/activemq-cpp/trunk/src/main/activemq/support/InitDirector.cpp
    activemq/activemq-cpp/trunk/src/main/activemq/support/InitDirector.h

Modified: activemq/activemq-cpp/trunk/src/main/activemq/support/InitDirector.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/support/InitDirector.cpp?rev=674462&r1=674461&r2=674462&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/support/InitDirector.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/support/InitDirector.cpp Mon Jul  7 04:34:22
2008
@@ -33,8 +33,8 @@
 int InitDirector::refCount;
 
 ////////////////////////////////////////////////////////////////////////////////
-InitDirector::InitDirector(void)
-{
+InitDirector::InitDirector() {
+
     if( refCount == 0 ) {
         connector::stomp::StompConnectorFactory::getInstance();
         connector::openwire::OpenWireConnectorFactory::getInstance();
@@ -50,8 +50,8 @@
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-InitDirector::~InitDirector(void)
-{
+InitDirector::~InitDirector() {
+
     refCount--;
 
     if( refCount == 0 ) {

Modified: activemq/activemq-cpp/trunk/src/main/activemq/support/InitDirector.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/support/InitDirector.h?rev=674462&r1=674461&r2=674462&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/support/InitDirector.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/support/InitDirector.h Mon Jul  7 04:34:22
2008
@@ -25,19 +25,18 @@
      * in order in this library.
      * Each package that needs initalization should create a set of
      * functions that control init and cleanup.  Each should be called
-     * by this class init in the constructor and cleanup in the 
+     * by this class init in the constructor and cleanup in the
      * destructor
      */
-    class InitDirector
-    {
+    class InitDirector {
     private:
-    
+
         static int refCount;
-        
+
     public:
 
-    	InitDirector(void);
-    	virtual ~InitDirector(void);
+        InitDirector();
+        virtual ~InitDirector();
 
     };
 



Mime
View raw message