diff options
author | Pablo Marquez Tello <pablo.tello@arm.com> | 2023-03-29 11:42:30 +0100 |
---|---|---|
committer | Pablo Marquez Tello <pablo.tello@arm.com> | 2023-03-29 15:39:49 +0000 |
commit | 732c1b218bd78bf13e37d0b6e541a2b3573b87a9 (patch) | |
tree | f3295d765633b8f809c2e147e980a8de18064e8c /src/core/utils/helpers/bit_ops.h | |
parent | 573a33f3dab9f885b6c062146adf9a0568c682c1 (diff) | |
download | ComputeLibrary-732c1b218bd78bf13e37d0b6e541a2b3573b87a9.tar.gz |
Fix GCC13 compiler errors
* Removed namespace arm_compute::utils::requires to fix the build error
‘requires’ is a keyword in C++20 [-Wc++20-compat]
* Added missing includes for cstdint.h
* Resolves MLCE-1040
Change-Id: I08842a273a4422f8e9b10daded680f521efe26e0
Signed-off-by: Pablo Marquez Tello <pablo.tello@arm.com>
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/9388
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Viet-Hoa Do <viet-hoa.do@arm.com>
Reviewed-by: Jakub Sujak <jakub.sujak@arm.com>
Benchmark: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/core/utils/helpers/bit_ops.h')
-rw-r--r-- | src/core/utils/helpers/bit_ops.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/utils/helpers/bit_ops.h b/src/core/utils/helpers/bit_ops.h index 954fb56460..fbd0382509 100644 --- a/src/core/utils/helpers/bit_ops.h +++ b/src/core/utils/helpers/bit_ops.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2021 Arm Limited. + * Copyright (c) 2018-2021, 2023 Arm Limited. * * SPDX-License-Identifier: MIT * @@ -24,7 +24,7 @@ #ifndef ARM_COMPUTE_UTILS_HELPERS_BIT_OPS_H #define ARM_COMPUTE_UTILS_HELPERS_BIT_OPS_H -#include "support/Requires.h" +#include "support/AclRequires.h" #include <type_traits> |