projects
/
c11tester.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
edits
[c11tester.git]
/
stl-model.h
diff --git
a/stl-model.h
b/stl-model.h
index cefadcba762f24d54c6ba82e743ca7addecdac1c..77040e2c4d0dbc9e423b22e0a5d6712bab4ef469 100644
(file)
--- a/
stl-model.h
+++ b/
stl-model.h
@@
-147,6
+147,10
@@
public:
uint size() {
return _size;
}
+
+ bool empty() {
+ return _size == 0;
+ }
MEMALLOC;
private:
@@
-295,6
+299,9
@@
public:
uint size() {
return _size;
}
+ bool empty() {
+ return _size == 0;
+ }
SNAPSHOTALLOC;
private: