diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2019-03-29 08:10:24 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2019-03-29 08:10:24 +0000 |
commit | b4a0ae92dba7fc35c957f74fb941332a4abcbf4f (patch) | |
tree | c73751e70cd62a30d6a313ca33c17b15cf20efe8 /searchcore | |
parent | eab5046fd56c8dd80e39006ace3b51f696b1b3fa (diff) |
Avoid assert in header files.
Diffstat (limited to 'searchcore')
-rw-r--r-- | searchcore/src/vespa/searchcore/proton/matching/document_scorer.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/matching/document_scorer.cpp b/searchcore/src/vespa/searchcore/proton/matching/document_scorer.cpp index 81ac1f923b9..c7721b428b9 100644 --- a/searchcore/src/vespa/searchcore/proton/matching/document_scorer.cpp +++ b/searchcore/src/vespa/searchcore/proton/matching/document_scorer.cpp @@ -1,6 +1,7 @@ // Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "document_scorer.h" +#include <cassert> using search::feature_t; using search::fef::FeatureResolver; @@ -8,8 +9,7 @@ using search::fef::RankProgram; using search::fef::LazyValue; using search::queryeval::SearchIterator; -namespace proton { -namespace matching { +namespace proton::matching { namespace { @@ -36,5 +36,4 @@ DocumentScorer::score(uint32_t docId) return doScore(docId); } -} // namespace proton::matching -} // namespace proton +} |