aboutsummaryrefslogtreecommitdiff
path: root/tests/InferenceTest.inl
diff options
context:
space:
mode:
authorJames Ward <james.ward@arm.com>2020-09-07 16:45:07 +0100
committerJames Ward <james.ward@arm.com>2020-09-10 10:17:58 +0000
commit08f4016b8ae8ee836fc813abcbc7db826924f3ec (patch)
tree93dae8a2edbc408f9a021668c15879cc96d805c9 /tests/InferenceTest.inl
parent1f3b49be73d1fadf06f20c912aa160a5ab53a6a8 (diff)
downloadarmnn-08f4016b8ae8ee836fc813abcbc7db826924f3ec.tar.gz
IVGCVSW-5293 Remove boost::format from armnn/tests
* Replaced boost::format with fmt::format Signed-off-by: James Ward <james.ward@arm.com> Change-Id: Icf5a6508e7be3d31bc063643491fc5e0607f21fa
Diffstat (limited to 'tests/InferenceTest.inl')
-rw-r--r--tests/InferenceTest.inl6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/InferenceTest.inl b/tests/InferenceTest.inl
index 362be7bdae..4a97d17018 100644
--- a/tests/InferenceTest.inl
+++ b/tests/InferenceTest.inl
@@ -6,8 +6,8 @@
#include <armnn/utility/Assert.hpp>
#include <boost/numeric/conversion/cast.hpp>
-#include <boost/format.hpp>
#include <boost/program_options.hpp>
+#include <fmt/format.h>
#include <fstream>
#include <iostream>
@@ -288,8 +288,8 @@ void ClassifierTestCaseProvider<TDatabase, InferenceModel>::ReadPredictions()
}
else
{
- throw armnn::Exception(boost::str(boost::format("Failed to open input validation file: %1%")
- % m_ValidationFileIn));
+ throw armnn::Exception(fmt::format("Failed to open input validation file: {}"
+ , m_ValidationFileIn));
}
}
}