summaryrefslogtreecommitdiffstats
path: root/searchlib
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2016-12-21 13:46:51 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2016-12-21 13:46:51 +0000
commitc444c094aea0bc920db4d90decfdf7c6dab62586 (patch)
treed33561c6de6d20a5bf8de8a946f7acd0e2c43db6 /searchlib
parent355e7f9a2c048a935a19bd38c5f7c845e90ff41e (diff)
Another const &
Diffstat (limited to 'searchlib')
-rw-r--r--searchlib/src/vespa/searchlib/attribute/attribute_weighted_set_blueprint.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/searchlib/src/vespa/searchlib/attribute/attribute_weighted_set_blueprint.cpp b/searchlib/src/vespa/searchlib/attribute/attribute_weighted_set_blueprint.cpp
index 20ef2167884..0b43b44c800 100644
--- a/searchlib/src/vespa/searchlib/attribute/attribute_weighted_set_blueprint.cpp
+++ b/searchlib/src/vespa/searchlib/attribute/attribute_weighted_set_blueprint.cpp
@@ -84,7 +84,7 @@ private:
public:
AttributeFilter(fef::TermFieldMatchData &tfmd,
const IAttributeVector & attr,
- const std::vector<int32_t> weights,
+ const std::vector<int32_t> & weights,
const std::vector<ISearchContext*> & contexts)
: _tfmd(tfmd), _attr(attr), _map(), _weight(0)
{