diff options
| author | Daniel Dunbar <daniel@zuster.org> | 2009-08-01 20:26:15 +0000 |
|---|---|---|
| committer | Daniel Dunbar <daniel@zuster.org> | 2009-08-01 20:26:15 +0000 |
| commit | 850b4c6957b9273f61aeaa7bcdbb24a83ef2d382 (patch) | |
| tree | 851494d9242cd575beb25868a673e325e041a477 /include/klee/Internal/ADT/ImmutableSet.h | |
| parent | 98e91af9e1ec97e1bc3eaee08b3068ca76672d93 (diff) | |
| download | klee-850b4c6957b9273f61aeaa7bcdbb24a83ef2d382.tar.gz | |
Use size_t where appropriate for ImmutableTree and friends.
git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@77799 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/klee/Internal/ADT/ImmutableSet.h')
| -rw-r--r-- | include/klee/Internal/ADT/ImmutableSet.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/klee/Internal/ADT/ImmutableSet.h b/include/klee/Internal/ADT/ImmutableSet.h index 0c79eb9c..e60a1d2a 100644 --- a/include/klee/Internal/ADT/ImmutableSet.h +++ b/include/klee/Internal/ADT/ImmutableSet.h @@ -45,7 +45,7 @@ namespace klee { bool empty() const { return elts.empty(); } - unsigned count(const key_type &key) const { + size_t count(const key_type &key) const { return elts.count(key); } const value_type *lookup(const key_type &key) const { @@ -57,7 +57,7 @@ namespace klee { const value_type &max() const { return elts.max(); } - unsigned size() { + size_t size() { return elts.size(); } @@ -93,7 +93,7 @@ namespace klee { return elts.upper_bound(key); } - static unsigned getAllocated() { return Tree::allocated; } + static size_t getAllocated() { return Tree::allocated; } }; } |
