IVGCVSW-4513 Remove boost/algorithm/string *
* Removed split, classification, trim, string, join, contains
* Added StringUtils.hpp to replace the removed Boost String functionality
Signed-off-by: David Monahan <david.monahan@arm.com>
Change-Id: I8aa938dc3942cb65c512cccb2c069da66aa24668
diff --git a/src/backends/backendsCommon/DynamicBackendUtils.cpp b/src/backends/backendsCommon/DynamicBackendUtils.cpp
index ea08692..5b675ba 100644
--- a/src/backends/backendsCommon/DynamicBackendUtils.cpp
+++ b/src/backends/backendsCommon/DynamicBackendUtils.cpp
@@ -5,9 +5,9 @@
#include <armnn/Logging.hpp>
#include <backendsCommon/DynamicBackendUtils.hpp>
+#include "armnn/utility/StringUtils.hpp"
#include <boost/filesystem.hpp>
-#include <boost/algorithm/string.hpp>
#include <regex>
@@ -110,11 +110,10 @@
}
std::unordered_set<std::string> uniqueBackendPaths;
- std::vector<std::string> tempBackendPaths;
std::vector<std::string> validBackendPaths;
// Split the given list of paths
- boost::split(tempBackendPaths, backendPaths, boost::is_any_of(":"));
+ std::vector<std::string> tempBackendPaths = armnn::stringUtils::StringTokenizer(backendPaths, ":");
for (const std::string& path : tempBackendPaths)
{