[llvm-commits] [poolalloc] r124999 - /poolalloc/trunk/include/poolalloc_runtime/Support/SplayTree.h
Arushi Aggarwal
aggarwa4 at illinois.edu
Sun Feb 6 17:42:46 PST 2011
Author: aggarwa4
Date: Sun Feb 6 19:42:46 2011
New Revision: 124999
URL: http://llvm.org/viewvc/llvm-project?rev=124999&view=rev
Log:
Change the utility function to return the count,
as the internal function does.
Modified:
poolalloc/trunk/include/poolalloc_runtime/Support/SplayTree.h
Modified: poolalloc/trunk/include/poolalloc_runtime/Support/SplayTree.h
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/include/poolalloc_runtime/Support/SplayTree.h?rev=124999&r1=124998&r2=124999&view=diff
==============================================================================
--- poolalloc/trunk/include/poolalloc_runtime/Support/SplayTree.h (original)
+++ poolalloc/trunk/include/poolalloc_runtime/Support/SplayTree.h Sun Feb 6 19:42:46 2011
@@ -266,7 +266,7 @@
return Tree.__remove(key);
}
- bool count() { return Tree.__count(); }
+ unsigned count() { return Tree.__count(); }
void clear() { Tree.__clear(); }
@@ -306,7 +306,7 @@
return Tree.__remove(key);
}
- bool count() { return Tree.__count(); }
+ unsigned count() { return Tree.__count(); }
void clear() { Tree.__clear(); }
More information about the llvm-commits
mailing list