summaryrefslogtreecommitdiffstats
path: root/eval
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@broadpark.no>2021-01-20 23:23:07 +0100
committerTor Egge <Tor.Egge@broadpark.no>2021-01-20 23:23:07 +0100
commit2cec078dda5cdc31b3fc5edf75d4017978e9a3b5 (patch)
treeff173c1f6eb8fbeda1f1e812e2e7567fc891fced /eval
parent3a456107e830d82ba5895f348016c84c9de5b727 (diff)
Use noexcept for simple lambda.
Diffstat (limited to 'eval')
-rw-r--r--eval/src/tests/instruction/mixed_inner_product_function/mixed_inner_product_function_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval/src/tests/instruction/mixed_inner_product_function/mixed_inner_product_function_test.cpp b/eval/src/tests/instruction/mixed_inner_product_function/mixed_inner_product_function_test.cpp
index b71b2c4d74c..fbe71f3ed63 100644
--- a/eval/src/tests/instruction/mixed_inner_product_function/mixed_inner_product_function_test.cpp
+++ b/eval/src/tests/instruction/mixed_inner_product_function/mixed_inner_product_function_test.cpp
@@ -29,7 +29,7 @@ struct MyVecSeq : Sequence {
};
std::function<double(size_t)> my_vec_gen(double cellBias) {
- return [=] (size_t i) { return i + cellBias; };
+ return [=] (size_t i) noexcept { return i + cellBias; };
}
//-----------------------------------------------------------------------------