projects
/
c11tester.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Some edits
[c11tester.git]
/
hashtable.h
diff --git
a/hashtable.h
b/hashtable.h
index c9da5aad4341883bba7225f3bc97f1f2bd04fc9f..4758999a6a4f23148446a5f0cf6376480fa4910c 100644
(file)
--- a/
hashtable.h
+++ b/
hashtable.h
@@
-284,6
+284,9
@@
public:
return size;
}
+ bool isEmpty() {
+ return size == 0;
+ }
/**
* @brief Check whether the table contains a value for the given key