diff options
author | Pablo Marquez Tello <pablo.tello@arm.com> | 2021-03-18 11:31:13 +0000 |
---|---|---|
committer | Pablo Marquez Tello <pablo.tello@arm.com> | 2021-03-23 14:52:43 +0000 |
commit | 383de02788f8edf0d8474890018fdd97c6eadd3f (patch) | |
tree | fdf36d2a4131cb3b16932489c61559c6c31c3031 /src/common/utils | |
parent | 049989a103912f43d377591ed177eafaefe10877 (diff) | |
download | ComputeLibrary-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 'src/common/utils')
-rw-r--r-- | src/common/utils/Object.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/common/utils/Object.h b/src/common/utils/Object.h index 6f56f77d3c..1f194737d4 100644 --- a/src/common/utils/Object.h +++ b/src/common/utils/Object.h @@ -52,8 +52,9 @@ struct Header * @param[in] type_ Object identification type * @param[in] ctx_ Context to reference */ - Header(ObjectType type_, IContext *ctx_) - : type(type_), ctx(ctx_) + Header(ObjectType type_, IContext *ctx_) noexcept + : type(type_), + ctx(ctx_) { } |