diff options
author | David Monahan <david.monahan@arm.com> | 2020-04-16 10:01:56 +0100 |
---|---|---|
committer | David Monahan <david.monahan@arm.com> | 2020-04-20 12:20:18 +0100 |
commit | a8837bfcf45136f178a9884b7c6f6449b3e6ed41 (patch) | |
tree | 0fa2c4de3646d27f1029d5ebd2cf966c3005522c /src/backends/backendsCommon/test/BackendProfilingTests.cpp | |
parent | 9b89e0a5e4398672c3b9423b02b3a9257e0ea95f (diff) | |
download | armnn-a8837bfcf45136f178a9884b7c6f6449b3e6ed41.tar.gz |
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
Diffstat (limited to 'src/backends/backendsCommon/test/BackendProfilingTests.cpp')
-rw-r--r-- | src/backends/backendsCommon/test/BackendProfilingTests.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/backends/backendsCommon/test/BackendProfilingTests.cpp b/src/backends/backendsCommon/test/BackendProfilingTests.cpp index 7c78e14733..9f1898aa01 100644 --- a/src/backends/backendsCommon/test/BackendProfilingTests.cpp +++ b/src/backends/backendsCommon/test/BackendProfilingTests.cpp @@ -21,7 +21,6 @@ #include <armnn/Logging.hpp> #include <armnn/profiling/ISendTimelinePacket.hpp> -#include <boost/algorithm/string.hpp> #include <boost/numeric/conversion/cast.hpp> #include <boost/test/unit_test.hpp> #include <vector> @@ -441,7 +440,7 @@ BOOST_AUTO_TEST_CASE(TestBackendCounterLogging) periodicCounterCapture.Stop(); SetLogFilter(armnn::LogSeverity::Fatal); - BOOST_CHECK(boost::contains(ss.str(), "ActivateCounters example test error")); + BOOST_CHECK(ss.str().find("ActivateCounters example test error") != std::string::npos); } BOOST_AUTO_TEST_CASE(BackendProfilingContextGetSendTimelinePacket) |