aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/core/KernelDescriptors.h
diff options
context:
space:
mode:
authorPablo Marquez Tello <pablo.tello@arm.com>2021-03-18 11:31:13 +0000
committerPablo Marquez Tello <pablo.tello@arm.com>2021-03-23 14:52:43 +0000
commit383de02788f8edf0d8474890018fdd97c6eadd3f (patch)
treefdf36d2a4131cb3b16932489c61559c6c31c3031 /arm_compute/core/KernelDescriptors.h
parent049989a103912f43d377591ed177eafaefe10877 (diff)
downloadComputeLibrary-383de02788f8edf0d8474890018fdd97c6eadd3f.tar.gz
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 <pablo.tello@arm.com> Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/5281 Tested-by: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Sang-Hoon Park <sang-hoon.park@arm.com> Reviewed-by: Manuel Bottini <manuel.bottini@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'arm_compute/core/KernelDescriptors.h')
-rw-r--r--arm_compute/core/KernelDescriptors.h14
1 files changed, 7 insertions, 7 deletions
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 }
{
}