aboutsummaryrefslogtreecommitdiffstats
path: root/eval/src/tests/instruction/generic_concat
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@broadpark.no>2021-02-02 19:12:23 +0100
committerTor Egge <Tor.Egge@broadpark.no>2021-02-02 19:12:23 +0100
commitb982112ae294c09786942e7d35053e51e04d591c (patch)
tree516174f27ba38aa72df90191605592b165b77b00 /eval/src/tests/instruction/generic_concat
parent47985d0aa7aebb49abbcbbea9d81cbf4007e8f00 (diff)
Use noexcept specifier for simple lambdas.
Diffstat (limited to 'eval/src/tests/instruction/generic_concat')
-rw-r--r--eval/src/tests/instruction/generic_concat/generic_concat_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval/src/tests/instruction/generic_concat/generic_concat_test.cpp b/eval/src/tests/instruction/generic_concat/generic_concat_test.cpp
index 88bf7f26b11..59c4c5bf0c8 100644
--- a/eval/src/tests/instruction/generic_concat/generic_concat_test.cpp
+++ b/eval/src/tests/instruction/generic_concat/generic_concat_test.cpp
@@ -20,7 +20,7 @@ using vespalib::make_string_short::fmt;
GenSpec G() { return GenSpec().cells_float(); }
-GenSpec::seq_t N_16ths = [] (size_t i) { return (i + 1.0) / 16.0; };
+GenSpec::seq_t N_16ths = [] (size_t i) noexcept { return (i + 1.0) / 16.0; };
std::vector<GenSpec> concat_layouts = {
G(), G(),