summaryrefslogtreecommitdiffstats
path: root/searchcore
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2016-06-16 12:01:31 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2016-06-16 12:01:31 +0000
commit3240b5257bc44bc18f9b7f4854afcf763e4f31dd (patch)
treeda7fa2c7cdbd99d9685630463e49c6218522a08f /searchcore
parentee026cbcbebdd46419fda51fd90e0ad4d43ed21d (diff)
Inline final method.
Diffstat (limited to 'searchcore')
-rw-r--r--searchcore/src/vespa/searchcore/proton/matching/querynodes.cpp6
-rw-r--r--searchcore/src/vespa/searchcore/proton/matching/querynodes.h2
2 files changed, 1 insertions, 7 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/matching/querynodes.cpp b/searchcore/src/vespa/searchcore/proton/matching/querynodes.cpp
index c9d90f1815b..8667cdb234b 100644
--- a/searchcore/src/vespa/searchcore/proton/matching/querynodes.cpp
+++ b/searchcore/src/vespa/searchcore/proton/matching/querynodes.cpp
@@ -108,12 +108,6 @@ ProtonTermData::setDocumentFrequency(uint32_t estHits, uint32_t docIdLimit)
}
}
-const ProtonTermData::FieldEntry &
-ProtonTermData::field(size_t i) const
-{
- return _fields[i];
-}
-
const ProtonTermData::FieldEntry *
ProtonTermData::lookupField(uint32_t fieldId) const
{
diff --git a/searchcore/src/vespa/searchcore/proton/matching/querynodes.h b/searchcore/src/vespa/searchcore/proton/matching/querynodes.h
index 7ae07d20cac..bf060507b01 100644
--- a/searchcore/src/vespa/searchcore/proton/matching/querynodes.h
+++ b/searchcore/src/vespa/searchcore/proton/matching/querynodes.h
@@ -63,7 +63,7 @@ public:
// ITermData interface
size_t numFields() const override final { return _fields.size(); }
- const FieldEntry &field(size_t i) const override final;
+ const FieldEntry &field(size_t i) const override final { return _fields[i]; }
const FieldEntry *lookupField(uint32_t fieldId) const override final;
};