From 08d9a1c4c9cbea4e743feefdd310ff038a6c4588 Mon Sep 17 00:00:00 2001 From: Colm Donelan Date: Wed, 9 Sep 2020 17:56:55 +0100 Subject: IVGCVSW-5298 Remove boost::format from Android-nn-driver * Replaced with stringstream, string or filesystem::path Signed-off-by: Colm Donelan Signed-off-by: Jan Eilers Change-Id: I2aa80d88cc0eaff5de4dc6a121370ebf41dcb0a8 --- ArmnnDriverImpl.cpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'ArmnnDriverImpl.cpp') diff --git a/ArmnnDriverImpl.cpp b/ArmnnDriverImpl.cpp index 936cc6e5..0934e2c3 100644 --- a/ArmnnDriverImpl.cpp +++ b/ArmnnDriverImpl.cpp @@ -20,6 +20,7 @@ #include "ModelToINetworkConverter.hpp" #include "SystemPropertiesUtils.hpp" + #include #include @@ -219,11 +220,11 @@ Return ArmnnDriverImpl::getSupportedOperations(const armnn::IRu std::string timestamp; if (!options.GetRequestInputsAndOutputsDumpDir().empty()) { - timestamp = GetFileTimestamp(); - fileName = boost::str(boost::format("%1%/%2%_getSupportedOperations.txt") - % options.GetRequestInputsAndOutputsDumpDir() - % timestamp); - ss << " : " << fileName; + ss << " : " + << options.GetRequestInputsAndOutputsDumpDir() + << "/" + << GetFileTimestamp() + << "_getSupportedOperations.txt"; } ALOGV(ss.str().c_str()); -- cgit v1.2.1