From 8eb256065f0e75ecf8e427d56955e2bac117c2d7 Mon Sep 17 00:00:00 2001 From: Jan Eilers Date: Mon, 9 Mar 2020 12:13:48 +0000 Subject: IVGCVSW-4482 Remove boost::ignore_unused !referencetests:229377 Signed-off-by: Jan Eilers Change-Id: Ia9b360b4a057fe7bbce5b268092627c09a0dba82 --- src/armnnUtils/QuantizeHelper.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/armnnUtils/QuantizeHelper.hpp') diff --git a/src/armnnUtils/QuantizeHelper.hpp b/src/armnnUtils/QuantizeHelper.hpp index 061c459156..6fd13fda98 100644 --- a/src/armnnUtils/QuantizeHelper.hpp +++ b/src/armnnUtils/QuantizeHelper.hpp @@ -5,6 +5,7 @@ #pragma once +#include #include #include @@ -13,7 +14,6 @@ #include #include -#include #include namespace armnnUtils @@ -38,13 +38,13 @@ struct SelectiveQuantizer { static T Quantize(float value, float scale, int32_t offset) { - boost::ignore_unused(scale, offset); + armnn::IgnoreUnused(scale, offset); return value; } static float Dequantize(T value, float scale, int32_t offset) { - boost::ignore_unused(scale, offset); + armnn::IgnoreUnused(scale, offset); return value; } }; @@ -54,13 +54,13 @@ struct SelectiveQuantizer { static armnn::Half Quantize(float value, float scale, int32_t offset) { - boost::ignore_unused(scale, offset); + armnn::IgnoreUnused(scale, offset); return armnn::Half(value); } static float Dequantize(armnn::Half value, float scale, int32_t offset) { - boost::ignore_unused(scale, offset); + armnn::IgnoreUnused(scale, offset); return value; } }; -- cgit v1.2.1