summaryrefslogtreecommitdiffstats
path: root/searchsummary/src/tests/extractkeywords/simplequerystack.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'searchsummary/src/tests/extractkeywords/simplequerystack.cpp')
-rw-r--r--searchsummary/src/tests/extractkeywords/simplequerystack.cpp36
1 files changed, 0 insertions, 36 deletions
diff --git a/searchsummary/src/tests/extractkeywords/simplequerystack.cpp b/searchsummary/src/tests/extractkeywords/simplequerystack.cpp
deleted file mode 100644
index c96ef8a8455..00000000000
--- a/searchsummary/src/tests/extractkeywords/simplequerystack.cpp
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-
-#include "simplequerystack.h"
-#include <vespa/vespalib/util/compress.h>
-
-#include <vespa/log/log.h>
-LOG_SETUP(".search.simplequerystack");
-
-namespace search {
-
-SimpleQueryStack::SimpleQueryStack()
- : _stack(nullptr)
-{
-}
-
-SimpleQueryStack::~SimpleQueryStack()
-{
- delete _stack;
-}
-
-void
-SimpleQueryStack::Push(SimpleQueryStackItem *item)
-{
- item->_next = _stack;
- _stack = item;
-}
-
-void
-SimpleQueryStack::AppendBuffer(RawBuf *buf) const
-{
- for (SimpleQueryStackItem *item = _stack; item != nullptr; item = item->_next) {
- item->AppendBuffer(buf);
- }
-}
-
-} // namespace search