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/experimental/Types.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'arm_compute/core/experimental/Types.h') diff --git a/arm_compute/core/experimental/Types.h b/arm_compute/core/experimental/Types.h index 2a4bd89385..7ddb930421 100644 --- a/arm_compute/core/experimental/Types.h +++ b/arm_compute/core/experimental/Types.h @@ -60,8 +60,10 @@ namespace experimental { struct MemoryInfo { - MemoryInfo(TensorType type, size_t size, size_t alignment) - : type(type), size(size), alignment(alignment) + MemoryInfo(TensorType type, size_t size, size_t alignment) noexcept + : type(type), + size(size), + alignment(alignment) { } TensorType type; -- cgit v1.2.1