summaryrefslogtreecommitdiffstats
path: root/searchcommon
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2016-09-02 21:45:34 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2016-09-02 21:51:22 +0000
commit180471481f346e60275e8fe25f6b14e54568ea0c (patch)
treee040b05fa79e086b8b1a1890d4d912faccdba00c /searchcommon
parent0f06fd575963a4f786842dea30180b95a7272646 (diff)
Wire the Grow strategy all the way.
Diffstat (limited to 'searchcommon')
-rw-r--r--searchcommon/src/vespa/searchcommon/attribute/config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/searchcommon/src/vespa/searchcommon/attribute/config.h b/searchcommon/src/vespa/searchcommon/attribute/config.h
index b63ce37c93b..dee684763a0 100644
--- a/searchcommon/src/vespa/searchcommon/attribute/config.h
+++ b/searchcommon/src/vespa/searchcommon/attribute/config.h
@@ -109,7 +109,7 @@ public:
}
void setFastAccess(bool v) { _fastAccess = v; }
- void setGrowStrategy(const GrowStrategy &gs) { _growStrategy = gs; }
+ Config & setGrowStrategy(const GrowStrategy &gs) { _growStrategy = gs; return *this; }
bool operator!=(const Config &b) const { return !(operator==(b)); }
bool