summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2022-06-15 16:54:48 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2022-06-15 16:54:48 +0000
commitb33bccbb862c9e6d181772c8f61571e23a5bf8f9 (patch)
treee0e5af13eb7d8f2097274045c5e5e1fb64347fdd
parent5e94016f806f21548233865aa7bf0448aac2a387 (diff)
GC unused code
-rw-r--r--searchcore/src/vespa/searchcore/proton/matching/match_master.cpp3
-rw-r--r--searchcore/src/vespa/searchcore/proton/matching/match_tools.cpp3
-rw-r--r--searchlib/src/vespa/searchlib/engine/request.h1
3 files changed, 0 insertions, 7 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/matching/match_master.cpp b/searchcore/src/vespa/searchcore/proton/matching/match_master.cpp
index 624922eb27b..985176bcef5 100644
--- a/searchcore/src/vespa/searchcore/proton/matching/match_master.cpp
+++ b/searchcore/src/vespa/searchcore/proton/matching/match_master.cpp
@@ -14,9 +14,6 @@
#include <vespa/vespalib/data/slime/inject.h>
#include <vespa/vespalib/data/slime/cursor.h>
-#include <vespa/log/log.h>
-LOG_SETUP(".proton.matching.match_master");
-
namespace proton::matching {
using namespace search::fef;
diff --git a/searchcore/src/vespa/searchcore/proton/matching/match_tools.cpp b/searchcore/src/vespa/searchcore/proton/matching/match_tools.cpp
index 7bf62f678ed..8379f8b1a3a 100644
--- a/searchcore/src/vespa/searchcore/proton/matching/match_tools.cpp
+++ b/searchcore/src/vespa/searchcore/proton/matching/match_tools.cpp
@@ -14,9 +14,6 @@
#include <vespa/vespalib/data/slime/inserter.h>
#include <vespa/vespalib/util/issue.h>
-#include <vespa/log/log.h>
-LOG_SETUP(".proton.matching.match_tools");
-
using search::attribute::IAttributeContext;
using search::queryeval::IRequestContext;
using search::queryeval::IDiversifier;
diff --git a/searchlib/src/vespa/searchlib/engine/request.h b/searchlib/src/vespa/searchlib/engine/request.h
index d3b6da6e8c2..27ca744a982 100644
--- a/searchlib/src/vespa/searchlib/engine/request.h
+++ b/searchlib/src/vespa/searchlib/engine/request.h
@@ -21,7 +21,6 @@ public:
vespalib::duration getTimeout() const { return _timeOfDoom - getStartTime(); }
vespalib::duration getTimeUsed() const;
vespalib::duration getTimeLeft() const;
- const RelativeTime & getRelativeTime() const { return _relativeTime; }
bool expired() const { return getTimeLeft() <= vespalib::duration::zero(); }
const vespalib::stringref getStackRef() const {