From fc9a69dcae4f81839593feaa69d081edf9b3c564 Mon Sep 17 00:00:00 2001 From: Jian Chen Date: Thu, 28 Sep 2023 09:30:42 -0700 Subject: [PATCH] Update VecAddMoveOnlyFunctor and VecAddWithIsSupportedMethod with Default constructor (#17705) ### Description ### Motivation and Context --- onnxruntime/test/framework/tunable_op_test.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/onnxruntime/test/framework/tunable_op_test.cc b/onnxruntime/test/framework/tunable_op_test.cc index 6aa7c5ee9f..0d9e557ebc 100644 --- a/onnxruntime/test/framework/tunable_op_test.cc +++ b/onnxruntime/test/framework/tunable_op_test.cc @@ -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);