Fix Cpu Conv3d gcc 8.3 build issues
Resolves: COMPMID-4986
Signed-off-by: Freddie Liardet <frederick.liardet@arm.com>
Change-Id: I54b682d377f3bcfc57fec54113debc5e8a1d75df
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/6745
Reviewed-by: Gunes Bayir <gunes.bayir@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
diff --git a/arm_compute/core/Size3D.h b/arm_compute/core/Size3D.h
index 148bd17..4241ed4 100644
--- a/arm_compute/core/Size3D.h
+++ b/arm_compute/core/Size3D.h
@@ -40,7 +40,7 @@
* @param[in] h Height of the 3D shape or object
* @param[in] d Depth of the 3D shape or object
*/
- Size3D(size_t w, size_t h, size_t d)
+ Size3D(size_t w, size_t h, size_t d) noexcept
: width(w), height(h), depth(d)
{
}
diff --git a/arm_compute/core/Types.h b/arm_compute/core/Types.h
index 47df44c..9615811 100644
--- a/arm_compute/core/Types.h
+++ b/arm_compute/core/Types.h
@@ -772,7 +772,7 @@
/** Padding information for 3D operations like Conv3d */
struct Padding3D
{
- Padding3D()
+ Padding3D() noexcept
{
}