Mod Cplusplus CVS committal
Author : johnksterling
Project : apr_cplusplus
Module : src
Dir : apr_cplusplus/src/tables
Modified Files:
cpp_tables.cpp
Log Message:
fix this to compile since there is some interest in looking at it again
===================================================================
RCS file: /cvsroot/modcplusplus/apr_cplusplus/src/tables/cpp_tables.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- cpp_tables.cpp 21 Nov 2001 16:49:13 -0000 1.3
+++ cpp_tables.cpp 15 Nov 2003 15:41:32 -0000 1.4
@@ -1,7 +1,7 @@
#include "cpp_tables.h"
/* APRTable class */
-APRTable::APRTable(apr_pool_t *pool, int nelts = 10)
+APRTable::APRTable(apr_pool_t *pool, int nelts)
{
mTable = apr_table_make(pool, nelts);
}
@@ -30,7 +30,7 @@
void APRTableIterator::Init()
{
- const apr_array_header_t *header = apr_table_elts(mTable);
+ const apr_array_header_t *header = apr_table_elts(mTable->GetTable());
mArray = (apr_table_entry_t *)header->elts;
mCurItem = 0;
}
|