summaryrefslogtreecommitdiffstats
path: root/searchsummary
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2017-07-24 09:35:58 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2017-07-24 09:35:58 +0000
commitbc58e5d7345217fa0fbfa0d9c577ee10c7bd94db (patch)
treee76c9d1daa7b18f9383200459afe40804af83dbf /searchsummary
parent737979601f25ace7e5444dd3c925329c5a0a8b6d (diff)
Add [[falltrhough]] for gcc 7
Diffstat (limited to 'searchsummary')
-rw-r--r--searchsummary/src/vespa/searchsummary/docsummary/attributedfw.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/searchsummary/src/vespa/searchsummary/docsummary/attributedfw.cpp b/searchsummary/src/vespa/searchsummary/docsummary/attributedfw.cpp
index fb1ab360532..fe766bb2889 100644
--- a/searchsummary/src/vespa/searchsummary/docsummary/attributedfw.cpp
+++ b/searchsummary/src/vespa/searchsummary/docsummary/attributedfw.cpp
@@ -49,6 +49,7 @@ ResType inferType(const IAttributeVector & vec) {
switch (t) {
case BasicType::TENSOR:
retval = RES_TENSOR;
+ [[fallthrough]];
default:
retval = RES_STRING;
}