Skip to content

Commit

Permalink
Update VecAddMoveOnlyFunctor and VecAddWithIsSupportedMethod with Def…
Browse files Browse the repository at this point in the history
…ault constructor (microsoft#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. -->
  • Loading branch information
jchen351 authored Sep 28, 2023
1 parent 9136748 commit fc9a69d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions onnxruntime/test/framework/tunable_op_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -263,8 +263,7 @@ TEST(TunableOp, OpWrapsMutableFunctor) {

class VecAddMoveOnlyFunctor {
public:
VecAddMoveOnlyFunctor() {
}
VecAddMoveOnlyFunctor() = default;
VecAddMoveOnlyFunctor(VecAddMoveOnlyFunctor&&) = default;
ORT_DISALLOW_COPY_AND_ASSIGNMENT(VecAddMoveOnlyFunctor);

Expand All @@ -290,8 +289,7 @@ TEST(TunableOp, OpWrapsMoveOnlyFunctor) {

class VecAddWithIsSupportedMethod {
public:
VecAddWithIsSupportedMethod() {
}
VecAddWithIsSupportedMethod() = default;
VecAddWithIsSupportedMethod(VecAddWithIsSupportedMethod&&) = default;
ORT_DISALLOW_COPY_AND_ASSIGNMENT(VecAddWithIsSupportedMethod);

Expand Down

0 comments on commit fc9a69d

Please sign in to comment.