diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2017-07-24 14:17:35 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2017-07-24 14:17:35 +0000 |
commit | b4be762630e273ab8913261ad8b2a0a38353de2f (patch) | |
tree | 25cd74dcfc4175a258e0c9c86a082b3a128bf407 /fsa | |
parent | 761677c3f844527aa67c75e718b05d13e7ff3386 (diff) |
Use syntax that works for both gcc 7 and gcc 6.
Diffstat (limited to 'fsa')
-rw-r--r-- | fsa/src/vespa/fsa/segmenter.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fsa/src/vespa/fsa/segmenter.cpp b/fsa/src/vespa/fsa/segmenter.cpp index 3bcb3f1b489..d13249a5ce8 100644 --- a/fsa/src/vespa/fsa/segmenter.cpp +++ b/fsa/src/vespa/fsa/segmenter.cpp @@ -77,16 +77,16 @@ void Segmenter::Segments::buildSegmentation(Segmenter::SegmentationMethod method switch(method){ case SEGMENTATION_WEIGHTED_BIAS100: bias+=50; - [[fallthrough]]; + //@fallthrough@ case SEGMENTATION_WEIGHTED_BIAS50: bias+=30; - [[fallthrough]]; + //@fallthrough@ case SEGMENTATION_WEIGHTED_BIAS20: bias+=10; - [[fallthrough]]; + //@fallthrough@ case SEGMENTATION_WEIGHTED_BIAS10: bias+=10; - [[fallthrough]]; + //@fallthrough@ case SEGMENTATION_WEIGHTED: bestid=-1; for(i=n_txt;i>=0;i--){ |