mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-07 17:15:29 +00:00
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:
parent
9136748462
commit
fc9a69dcae
1 changed files with 2 additions and 4 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue