activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r559157 - /activemq/activemq-cpp/trunk/src/decaf/src/main/decaf/util/Config.h
Date Tue, 24 Jul 2007 18:42:44 GMT
Author: tabish
Date: Tue Jul 24 11:42:41 2007
New Revision: 559157

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

Modified:
    activemq/activemq-cpp/trunk/src/decaf/src/main/decaf/util/Config.h

Modified: activemq/activemq-cpp/trunk/src/decaf/src/main/decaf/util/Config.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/decaf/src/main/decaf/util/Config.h?view=diff&rev=559157&r1=559156&r2=559157
==============================================================================
--- activemq/activemq-cpp/trunk/src/decaf/src/main/decaf/util/Config.h (original)
+++ activemq/activemq-cpp/trunk/src/decaf/src/main/decaf/util/Config.h Tue Jul 24 11:42:41
2007
@@ -89,31 +89,20 @@
 
 // Define a class to hanlde APR initialization and termination, then declare a global
 // static instance that will cause the library to only be initialized once.
+#include <apr.h>
 #include <apr_general.h>
 #include <apr_pools.h>
 
 class _APR_LIBRARY {
-private:
-
-    // Global APR memory pool
-    apr_pool_t* memoryPool;
-
 public:
 
     _APR_LIBRARY() {
         apr_initialize();
-        apr_pool_create( &memoryPool, NULL );
     }
 
     ~_APR_LIBRARY() {
-        apr_pool_destroy( memoryPool );
         apr_terminate();
     }
-
-    apr_pool_t* getMemoryPool() const{
-        return memoryPool;
-    }
-
 };
 
 static _APR_LIBRARY _decaf_apr;



Mime
View raw message