Update VecAddMoveOnlyFunctor and VecAddWithIsSupportedMethod with Default constructor (#17705)

### Description
<!-- Describe your changes. -->



### Motivation and Context
<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->
This commit is contained in:
Jian Chen 2023-09-28 09:30:42 -07:00 committed by GitHub
parent 9136748462
commit fc9a69dcae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -263,8 +263,7 @@ TEST(TunableOp, OpWrapsMutableFunctor) {
class VecAddMoveOnlyFunctor {
public:
VecAddMoveOnlyFunctor() {
}
VecAddMoveOnlyFunctor() = default;
VecAddMoveOnlyFunctor(VecAddMoveOnlyFunctor&&) = default;
ORT_DISALLOW_COPY_AND_ASSIGNMENT(VecAddMoveOnlyFunctor);
@ -290,8 +289,7 @@ TEST(TunableOp, OpWrapsMoveOnlyFunctor) {
class VecAddWithIsSupportedMethod {
public:
VecAddWithIsSupportedMethod() {
}
VecAddWithIsSupportedMethod() = default;
VecAddWithIsSupportedMethod(VecAddWithIsSupportedMethod&&) = default;
ORT_DISALLOW_COPY_AND_ASSIGNMENT(VecAddWithIsSupportedMethod);