aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichalis Spyrou <michalis.spyrou@arm.com>2022-04-21 16:42:56 +0100
committerMichalis Spyrou <michalis.spyrou@arm.com>2022-04-21 20:03:01 +0000
commit50e48aaa15bdf39a2a7ad39daee93b7217d26d32 (patch)
treeff199f34e54cc179bcd495ae47a9266522259e2d
parent1bae0f9c66c5026bbbe7bd6984bc0e6d6de7631d (diff)
downloadComputeLibrary-50e48aaa15bdf39a2a7ad39daee93b7217d26d32.tar.gz
Add missing noexcept.
This fixes building faillures with gcc9. Change-Id: I993116866b0f1e41cb2518e880798ad1f8c2e0af Signed-off-by: Michalis Spyrou <michalis.spyrou@arm.com> Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/7448 Reviewed-by: Gunes Bayir <gunes.bayir@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com>
-rw-r--r--arm_compute/core/Types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arm_compute/core/Types.h b/arm_compute/core/Types.h
index 47b9485d80..473102a95a 100644
--- a/arm_compute/core/Types.h
+++ b/arm_compute/core/Types.h
@@ -1268,7 +1268,7 @@ struct PoolingLayerInfo
struct Pooling3dLayerInfo
{
/** Default Constructor */
- Pooling3dLayerInfo()
+ Pooling3dLayerInfo() noexcept
: pool_type(PoolingType::MAX),
pool_size(Size3D()),
stride(Size3D()),