diff options
Diffstat (limited to 'src/qml/qml/ftw')
-rw-r--r-- | src/qml/qml/ftw/qfinitestack_p.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qml/qml/ftw/qfinitestack_p.h b/src/qml/qml/ftw/qfinitestack_p.h index 1b25ed2e55..8b499d9b6d 100644 --- a/src/qml/qml/ftw/qfinitestack_p.h +++ b/src/qml/qml/ftw/qfinitestack_p.h @@ -65,6 +65,8 @@ struct QFiniteStack { inline void deallocate(); inline void allocate(int size); + inline int capacity() const { return _alloc; } + inline bool isEmpty() const; inline const T &top() const; inline T &top(); |