summaryrefslogtreecommitdiffstats
path: root/document
diff options
context:
space:
mode:
Diffstat (limited to 'document')
-rw-r--r--document/src/vespa/document/base/fieldpath.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/document/src/vespa/document/base/fieldpath.h b/document/src/vespa/document/base/fieldpath.h
index c2db3276fb4..95f916af118 100644
--- a/document/src/vespa/document/base/fieldpath.h
+++ b/document/src/vespa/document/base/fieldpath.h
@@ -66,7 +66,7 @@ public:
uint32_t getIndex() const { return _lookupIndex; }
- FieldValue & getLookupKey() const { return *_lookupKey; }
+ const FieldValue & getLookupKey() const { return *_lookupKey; }
const vespalib::string& getVariableName() const { return _variableName; }