aboutsummaryrefslogtreecommitdiff
path: root/src/core/utils/helpers/bit_ops.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/utils/helpers/bit_ops.h')
-rw-r--r--src/core/utils/helpers/bit_ops.h4
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 ef60214c9f..954fb56460 100644
--- a/src/core/utils/helpers/bit_ops.h
+++ b/src/core/utils/helpers/bit_ops.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2018-2020 Arm Limited.
+ * Copyright (c) 2018-2021 Arm Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -41,7 +41,7 @@ namespace bit_ops
*
* @return True if the idx-th bit is set else false
*/
-template <typename T, REQUIRES_TA(std::is_integral<T>::value)>
+template <typename T, ARM_COMPUTE_REQUIRES_TA(std::is_integral<T>::value)>
bool is_bit_set(T v, unsigned int idx)
{
return (v & 1 << idx) != 0;