Author: tabish
Date: Thu Nov 13 11:15:19 2008
New Revision: 713793
URL: http://svn.apache.org/viewvc?rev=713793&view=rev
Log:
AMQCPP-199
Fix the AprPool code so that it builds with v1.2.x of APR.
Modified:
activemq/activemq-cpp/trunk/src/main/decaf/internal/AprPool.cpp
Modified: activemq/activemq-cpp/trunk/src/main/decaf/internal/AprPool.cpp
URL:
http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/decaf/internal/AprPool.cpp?rev=713793&r1=713792&r2=713793&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/decaf/internal/AprPool.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/decaf/internal/AprPool.cpp Thu Nov 13
11:15:19 2008
@@ -37,7 +37,7 @@
void AprPool::allocatePool() const {
if( aprPool == NULL ) {
- apr_pool_create_unmanaged( &aprPool );
+ apr_pool_create_unmanaged_ex( &aprPool, NULL, NULL );
}
}