From 383de02788f8edf0d8474890018fdd97c6eadd3f Mon Sep 17 00:00:00 2001 From: Pablo Marquez Tello Date: Thu, 18 Mar 2021 11:31:13 +0000 Subject: Fixed compiler errors * Some compilers fail to build due to the inconsistent use of the noexcept clause Change-Id: I1f44abec84d8d0c8dd45662d1e309d006dcf9b64 Signed-off-by: Pablo Marquez Tello Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/5281 Tested-by: Arm Jenkins Reviewed-by: Sang-Hoon Park Reviewed-by: Manuel Bottini Comments-Addressed: Arm Jenkins --- arm_compute/core/KernelDescriptors.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'arm_compute/core/KernelDescriptors.h') diff --git a/arm_compute/core/KernelDescriptors.h b/arm_compute/core/KernelDescriptors.h index 1f3cee2dd1..0025301e48 100644 --- a/arm_compute/core/KernelDescriptors.h +++ b/arm_compute/core/KernelDescriptors.h @@ -191,14 +191,14 @@ struct ScaleKernelInfo SamplingPolicy sampling_policy = SamplingPolicy::CENTER, bool use_padding = true, bool align_corners = false, - DataLayout data_layout = DataLayout::UNKNOWN) + DataLayout data_layout = DataLayout::UNKNOWN) noexcept : interpolation_policy{ interpolation_policy }, - border_mode{ border_mode }, - constant_border_value{ constant_border_value }, - sampling_policy{ sampling_policy }, - use_padding{ use_padding }, - align_corners{ align_corners }, - data_layout{ data_layout } + border_mode{ border_mode }, + constant_border_value{ constant_border_value }, + sampling_policy{ sampling_policy }, + use_padding{ use_padding }, + align_corners{ align_corners }, + data_layout{ data_layout } { } -- cgit v1.2.1