aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/ProfilingService.cpp
diff options
context:
space:
mode:
authorMatthew Sloyan <matthew.sloyan@arm.com>2020-09-11 10:14:57 +0100
committerMatthew Sloyan <matthew.sloyan@arm.com>2020-09-29 08:01:57 +0000
commit371b70e39390618cbd791b441adcf3923964b8df (patch)
treeb869b0b3e5064e9c5abab8a02b111a497a6326d2 /src/profiling/ProfilingService.cpp
parent1f0e2f9dbf14a719aef09649b19a656a6b03c7ce (diff)
downloadarmnn-371b70e39390618cbd791b441adcf3923964b8df.tar.gz
IVGCVSW-5301 Remove all boost::numeric_cast from armnn/src/profiling
* Replaced with armnn/utility/NumericCast.hpp Signed-off-by: Matthew Sloyan <matthew.sloyan@arm.com> Change-Id: I14e89c00cd1dd607315113d5b8ca56c2e9f6c363
Diffstat (limited to 'src/profiling/ProfilingService.cpp')
-rw-r--r--src/profiling/ProfilingService.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/profiling/ProfilingService.cpp b/src/profiling/ProfilingService.cpp
index b673993846..3521fc0884 100644
--- a/src/profiling/ProfilingService.cpp
+++ b/src/profiling/ProfilingService.cpp
@@ -7,6 +7,8 @@
#include <armnn/BackendId.hpp>
#include <armnn/Logging.hpp>
+#include <armnn/utility/NumericCast.hpp>
+
#include <common/include/SocketConnectionException.hpp>
#include <boost/format.hpp>
@@ -426,7 +428,7 @@ void ProfilingService::InitializeCounterValue(uint16_t counterUid)
// Increase the size of the counter index if necessary
if (counterUid >= m_CounterIndex.size())
{
- m_CounterIndex.resize(boost::numeric_cast<size_t>(counterUid) + 1);
+ m_CounterIndex.resize(armnn::numeric_cast<size_t>(counterUid) + 1);
}
// Create a new atomic counter and add it to the list