aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/core/Types.h
diff options
context:
space:
mode:
authorGeorgios Pinitas <georgios.pinitas@arm.com>2018-06-06 17:57:04 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:52:54 +0000
commitf8d8f3aff04faf731f20411ecb91027eab4365c5 (patch)
treeda865aaa630305fb8e7d86d5b100cb35fd9f6f47 /arm_compute/core/Types.h
parent1db7bebe29fb11fd85642c292d7dfca4bfef2553 (diff)
downloadComputeLibrary-f8d8f3aff04faf731f20411ecb91027eab4365c5.tar.gz
COMPMID-1200: Missing noexcept specifiers
Disables Wnoexcept in tests Used gcc 8.2 to reproduce. Change-Id: I06f4636d96bd3ac98dace72341bb808edcd23750 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/134490 Tested-by: Jenkins <bsgcomp@arm.com> Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'arm_compute/core/Types.h')
-rw-r--r--arm_compute/core/Types.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/arm_compute/core/Types.h b/arm_compute/core/Types.h
index 639170f0fd..12c4e25222 100644
--- a/arm_compute/core/Types.h
+++ b/arm_compute/core/Types.h
@@ -127,8 +127,9 @@ enum class DataLayoutDimension
struct QuantizationInfo
{
/** Default constructor */
- QuantizationInfo()
- : scale(0.0f), offset(0)
+ QuantizationInfo() noexcept
+ : scale(0.0f),
+ offset(0)
{
}