From e4e113340c6bda0e4219d330bf302553383aaa47 Mon Sep 17 00:00:00 2001 From: nvalimak Date: Fri, 9 Jan 2009 13:39:44 +0000 Subject: [PATCH] Fixed parameter git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/TextCollection@53 3cdefd35-fc62-479d-8e8d-bae585ffb9ca --- testTextCollection.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testTextCollection.cpp b/testTextCollection.cpp index 39377c5..dfa618e 100644 --- a/testTextCollection.cpp +++ b/testTextCollection.cpp @@ -37,9 +37,9 @@ int main() string str; uchar* data; int i = 0 ,j = 0; - int heap_base = HeapProfiler::GetHeapConsumption (5); // Avoid small samplerates ;) + int heap_base = HeapProfiler::GetHeapConsumption(); std::cerr << "Initial heap usage : " << heap_base << "\n"; - TextCollection *csa = TextCollection::InitTextCollection(); + TextCollection *csa = TextCollection::InitTextCollection(5); // Avoid small samplerates ;) heap_base = HeapProfiler::GetHeapConsumption (); std::cerr << "Heap usage after InitTextCollection : " << heap_base << "\n"; -- 2.17.1