diff options
Diffstat (limited to 'searchsummary/src/tests/extractkeywords/simplequerystack.h')
-rw-r--r-- | searchsummary/src/tests/extractkeywords/simplequerystack.h | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/searchsummary/src/tests/extractkeywords/simplequerystack.h b/searchsummary/src/tests/extractkeywords/simplequerystack.h index 97dd6418e48..7347c66c925 100644 --- a/searchsummary/src/tests/extractkeywords/simplequerystack.h +++ b/searchsummary/src/tests/extractkeywords/simplequerystack.h @@ -18,13 +18,7 @@ namespace search { class SimpleQueryStack { private: - /** The number of items on the stack. */ - uint32_t _numItems; - - /** The top of the stack. - * Warning: FastQT_ProximityEmul currently assumes this is the head - * of a singly linked list (linked with _next). - */ + /** The top of the stack. */ SimpleQueryStackItem *_stack; public: @@ -44,25 +38,11 @@ public: */ void Push(SimpleQueryStackItem *item); - /** * Encode the contents of the stack in a binary buffer. * @param buf Pointer to a buffer containing the encoded contents. */ void AppendBuffer(RawBuf *buf) const; - - /** - * Return the number of items on the stack. - * @return The number of items on the stack. - */ - uint32_t GetSize(); - /** - * Set the number of items on the stack. - * This can be used by QTs that change the stack - * under the hood. Use with care! - * @param numItems The number of items on the stack. - */ - void SetSize(uint32_t numItems) { _numItems = numItems; } }; } // namespace search |