summaryrefslogtreecommitdiffstats
path: root/searchsummary
diff options
context:
space:
mode:
Diffstat (limited to 'searchsummary')
-rw-r--r--searchsummary/src/vespa/juniper/rpinterface.cpp2
-rw-r--r--searchsummary/src/vespa/juniper/rpinterface.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/searchsummary/src/vespa/juniper/rpinterface.cpp b/searchsummary/src/vespa/juniper/rpinterface.cpp
index afda82c1110..702cfb11f4d 100644
--- a/searchsummary/src/vespa/juniper/rpinterface.cpp
+++ b/searchsummary/src/vespa/juniper/rpinterface.cpp
@@ -37,7 +37,7 @@ void SetDebug(unsigned int mask)
}
-Juniper::Juniper(IJuniperProperties* props, Fast_WordFolder* wordfolder, int api_version) :
+Juniper::Juniper(IJuniperProperties* props, const Fast_WordFolder* wordfolder, int api_version) :
_props(props),
_wordfolder(wordfolder),
_modifier(new QueryModifier())
diff --git a/searchsummary/src/vespa/juniper/rpinterface.h b/searchsummary/src/vespa/juniper/rpinterface.h
index 5bfee1e2691..b6612f2a5b7 100644
--- a/searchsummary/src/vespa/juniper/rpinterface.h
+++ b/searchsummary/src/vespa/juniper/rpinterface.h
@@ -89,7 +89,7 @@ public:
* compatibility between versions.
*/
Juniper(IJuniperProperties* props,
- Fast_WordFolder* wordfolder, int api_version = JUNIPER_RP_ABI_VERSION);
+ const Fast_WordFolder* wordfolder, int api_version = JUNIPER_RP_ABI_VERSION);
/** Deinitialize the Juniper subsystem. Release all remaining resources
* associated with Juniper - reverse the effect of the Init function.
* Assumes that all Result objects have been released.
@@ -137,7 +137,7 @@ public:
private:
IJuniperProperties * _props;
- Fast_WordFolder * _wordfolder;
+ const Fast_WordFolder * _wordfolder;
std::unique_ptr<QueryModifier> _modifier;
};