From c5a613982c12977cef2e2e16aaf9c50fa1629a88 Mon Sep 17 00:00:00 2001 From: Giorgio Arena Date: Wed, 6 Jan 2021 15:13:08 +0000 Subject: Clean up macro definitions in arm_compute headers - Expose loose macros by prefixing "ARM_COMPUTE_" Resolves: COMPMID-3701 Signed-off-by: Giorgio Arena Change-Id: I4334b01c1a5cd8585f4a1ba2d870be956c61a83d Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/4769 Reviewed-by: Georgios Pinitas Comments-Addressed: Arm Jenkins Tested-by: Arm Jenkins --- arm_compute/core/utils/math/SafeOps.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'arm_compute/core/utils') diff --git a/arm_compute/core/utils/math/SafeOps.h b/arm_compute/core/utils/math/SafeOps.h index c222c65e84..f0d76a3d02 100644 --- a/arm_compute/core/utils/math/SafeOps.h +++ b/arm_compute/core/utils/math/SafeOps.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019-2020 Arm Limited. + * Copyright (c) 2019-2021 Arm Limited. * * SPDX-License-Identifier: MIT * @@ -46,7 +46,7 @@ namespace math * * @return The addition result */ -template ::value)> +template ::value)> T safe_integer_add(T val_a, T val_b) { T result = 0; @@ -78,7 +78,7 @@ T safe_integer_add(T val_a, T val_b) * * @return The subtraction result */ -template ::value)> +template ::value)> T safe_integer_sub(T val_a, T val_b) { T result = 0; @@ -110,7 +110,7 @@ T safe_integer_sub(T val_a, T val_b) * * @return The multiplication result */ -template ::value)> +template ::value)> T safe_integer_mul(T val_a, T val_b) { T result = 0; @@ -160,7 +160,7 @@ T safe_integer_mul(T val_a, T val_b) * * @return The quotient */ -template ::value)> +template ::value)> T safe_integer_div(T val_a, T val_b) { T result = 0; -- cgit v1.2.1