diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2023-06-07 00:54:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-07 00:54:51 +0200 |
commit | d06f70b259c4bbe4194acf40608b2ab914a8990f (patch) | |
tree | 1e7db764462a824ec791e6470761ffeb792b23e0 | |
parent | 319907e7fc8e0e5c5c1a65b64004da769f0b7c92 (diff) | |
parent | d9591fe9a749c4cc61279ee4a5f8fb70d1f2ca29 (diff) |
Merge pull request #27321 from vespa-engine/toregge/eliminate-inline-warning-in-dense-multi-matmul-function-unit-test
Eliminate inline warning in dense multi matmul function unit test.
-rw-r--r-- | eval/src/tests/instruction/dense_multi_matmul_function/dense_multi_matmul_function_test.cpp | 4 | ||||
-rw-r--r-- | eval/src/vespa/eval/eval/test/cell_type_space.h | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/eval/src/tests/instruction/dense_multi_matmul_function/dense_multi_matmul_function_test.cpp b/eval/src/tests/instruction/dense_multi_matmul_function/dense_multi_matmul_function_test.cpp index 8ee0ba90af9..0d171fa0668 100644 --- a/eval/src/tests/instruction/dense_multi_matmul_function/dense_multi_matmul_function_test.cpp +++ b/eval/src/tests/instruction/dense_multi_matmul_function/dense_multi_matmul_function_test.cpp @@ -42,8 +42,8 @@ void verify_optimized(const vespalib::string &expr, const FunInfo &details) CellTypeSpace stable_types(CellTypeUtils::list_stable_types(), 2); CellTypeSpace unstable_types(CellTypeUtils::list_unstable_types(), 2); EvalFixture::verify<FunInfo>(expr, {details}, CellTypeSpace(stable_types).same()); - EvalFixture::verify<FunInfo>(expr, {}, CellTypeSpace(stable_types).different()); - EvalFixture::verify<FunInfo>(expr, {}, unstable_types); + EvalFixture::verify<FunInfo>(expr, {}, CellTypeSpace(std::move(stable_types)).different()); + EvalFixture::verify<FunInfo>(expr, {}, std::move(unstable_types)); } void verify_not_optimized(const vespalib::string &expr) { diff --git a/eval/src/vespa/eval/eval/test/cell_type_space.h b/eval/src/vespa/eval/eval/test/cell_type_space.h index e4ab26c2f91..3f8abfe5936 100644 --- a/eval/src/vespa/eval/eval/test/cell_type_space.h +++ b/eval/src/vespa/eval/eval/test/cell_type_space.h @@ -36,6 +36,8 @@ public: assert(n > 0); skip_unwanted(); } + CellTypeSpace(const CellTypeSpace& rhs) = default; + CellTypeSpace(CellTypeSpace&& rhs) noexcept = default; ~CellTypeSpace(); CellTypeSpace &same() { _drop_different = true; |