aboutsummaryrefslogtreecommitdiffstats
path: root/searchsummary/src/vespa/searchsummary/docsummary/juniperproperties.cpp
diff options
context:
space:
mode:
authorGeir Storli <geirst@yahooinc.com>2022-08-30 23:40:30 +0200
committerGitHub <noreply@github.com>2022-08-30 23:40:30 +0200
commitfd775ea947dbbadd3190764e16b04b13f0777ac3 (patch)
tree47a2b35fbe897fb69fba967b48e24c3f333c879e /searchsummary/src/vespa/searchsummary/docsummary/juniperproperties.cpp
parent5e63e035c36adc950b7ad080b726b3fd5ed3b47f (diff)
parentd3277ff41740acdc6a79cd61f043017e7504f931 (diff)
Merge pull request #23857 from vespa-engine/toregge/use-const-idocsumenvironment-referencev8.45.22
Use const IDocsumEnvironment reference in DocsumFieldWriterFactory.
Diffstat (limited to 'searchsummary/src/vespa/searchsummary/docsummary/juniperproperties.cpp')
-rw-r--r--searchsummary/src/vespa/searchsummary/docsummary/juniperproperties.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/searchsummary/src/vespa/searchsummary/docsummary/juniperproperties.cpp b/searchsummary/src/vespa/searchsummary/docsummary/juniperproperties.cpp
index b795679c7e6..8f6d6ed02ea 100644
--- a/searchsummary/src/vespa/searchsummary/docsummary/juniperproperties.cpp
+++ b/searchsummary/src/vespa/searchsummary/docsummary/juniperproperties.cpp
@@ -84,7 +84,7 @@ JuniperProperties::configure(const JuniperrcConfig &cfg)
}
const char *
-JuniperProperties::GetProperty(const char *name, const char *def)
+JuniperProperties::GetProperty(const char *name, const char *def) const
{
auto it = _properties.find(name);
return it != _properties.end() ? it->second.c_str() : def;