summaryrefslogtreecommitdiffstats
path: root/document
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@broadpark.no>2018-05-27 02:35:33 +0200
committerTor Egge <Tor.Egge@broadpark.no>2018-05-27 18:22:20 +0000
commitdc3b5a57b6706bb13a685e5f97d2517dd87b34e3 (patch)
tree098a7d1220d798edf23bc56847a4b2903a0bba2a /document
parent2b33daa972f399b7734215ac03d8102cb68d7c1b (diff)
Use fallthrough attributes.
Diffstat (limited to 'document')
-rw-r--r--document/src/vespa/document/select/valuenodes.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/document/src/vespa/document/select/valuenodes.cpp b/document/src/vespa/document/select/valuenodes.cpp
index 837ebd873e3..f9cf3472110 100644
--- a/document/src/vespa/document/select/valuenodes.cpp
+++ b/document/src/vespa/document/select/valuenodes.cpp
@@ -905,7 +905,7 @@ ArithmeticValueNode::getValue(std::unique_ptr<Value> lval,
slval.getValue() + srval.getValue()));
}
}
- //@fallthrough@
+ [[fallthrough]];
case SUB:
case MUL:
case DIV:
@@ -995,7 +995,7 @@ ArithmeticValueNode::traceValue(std::unique_ptr<Value> lval,
return result;
}
}
- //@fallthrough@
+ [[fallthrough]];
case SUB:
case MUL:
case DIV: