diff options
author | Jan Eilers <jan.eilers@arm.com> | 2020-03-09 12:13:48 +0000 |
---|---|---|
committer | Jan Eilers <jan.eilers@arm.com> | 2020-03-10 10:07:43 +0000 |
commit | 8eb256065f0e75ecf8e427d56955e2bac117c2d7 (patch) | |
tree | 1387fb4ea4a741475449d78be63d601f9d84b6e5 /src/armnnTfLiteParser | |
parent | 8832522f47b701f5f042069e7bf8deae9b75d449 (diff) | |
download | armnn-8eb256065f0e75ecf8e427d56955e2bac117c2d7.tar.gz |
IVGCVSW-4482 Remove boost::ignore_unused
!referencetests:229377
Signed-off-by: Jan Eilers <jan.eilers@arm.com>
Change-Id: Ia9b360b4a057fe7bbce5b268092627c09a0dba82
Diffstat (limited to 'src/armnnTfLiteParser')
-rw-r--r-- | src/armnnTfLiteParser/TfLiteParser.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/armnnTfLiteParser/TfLiteParser.cpp b/src/armnnTfLiteParser/TfLiteParser.cpp index 5a5274a90f..eab9f4ea30 100644 --- a/src/armnnTfLiteParser/TfLiteParser.cpp +++ b/src/armnnTfLiteParser/TfLiteParser.cpp @@ -9,7 +9,7 @@ #include <armnn/Exceptions.hpp> #include <armnn/Logging.hpp> #include <armnn/TypesUtils.hpp> -#include <boost/filesystem.hpp> +#include <armnn/utility/IgnoreUnused.hpp> // armnnUtils: #include <armnnUtils/Permute.hpp> @@ -22,10 +22,10 @@ #include <flatbuffers/flexbuffers.h> -#include <boost/core/ignore_unused.hpp> #include <boost/assert.hpp> #include <boost/format.hpp> #include <boost/numeric/conversion/cast.hpp> +#include <boost/filesystem.hpp> #include <fstream> #include <algorithm> @@ -426,7 +426,7 @@ CreateConstTensorImpl(TfLiteParser::BufferRawPtr bufferPtr, armnn::TensorInfo& tensorInfo, armnn::Optional<armnn::PermutationVector&> permutationVector) { - boost::ignore_unused(tensorPtr); + IgnoreUnused(tensorPtr); BOOST_ASSERT_MSG(tensorPtr != nullptr, "tensorPtr is null"); BOOST_ASSERT_MSG(bufferPtr != nullptr, boost::str( @@ -1827,7 +1827,7 @@ void TfLiteParser::ParseActivation(size_t subgraphIndex, size_t operatorIndex, A { CHECK_MODEL(m_Model, subgraphIndex, operatorIndex); const auto & operatorPtr = m_Model->subgraphs[subgraphIndex]->operators[operatorIndex]; - boost::ignore_unused(operatorPtr); + IgnoreUnused(operatorPtr); auto inputs = GetInputs(m_Model, subgraphIndex, operatorIndex); CHECK_VALID_SIZE(inputs.size(), 1); |