From f9db3efe5ce2b989b59c47056e1b84b32d2f1100 Mon Sep 17 00:00:00 2001 From: Jim Flynn Date: Tue, 8 Mar 2022 21:23:44 +0000 Subject: IVGCVSW-6821 Remove dependency on armnn::Exception classes from the Profiling code Change-Id: Id46a9a0576091df21b2af5b472f1ca5c6335e8a3 Signed-off-by: Jim Flynn --- src/profiling/test/ProfilingMocks.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/profiling/test/ProfilingMocks.hpp') diff --git a/src/profiling/test/ProfilingMocks.hpp b/src/profiling/test/ProfilingMocks.hpp index ca11ae4348..b9ba9315ee 100644 --- a/src/profiling/test/ProfilingMocks.hpp +++ b/src/profiling/test/ProfilingMocks.hpp @@ -13,13 +13,13 @@ #include #include -#include #include #include #include #include #include +#include #include #include @@ -294,8 +294,8 @@ public: reservedSize = 0; if (requestedSize > m_MaxBufferSize) { - throw armnn::InvalidArgumentException("The maximum buffer size that can be requested is [" + - std::to_string(m_MaxBufferSize) + "] bytes"); + throw arm::pipe::InvalidArgumentException("The maximum buffer size that can be requested is [" + + std::to_string(m_MaxBufferSize) + "] bytes"); } reservedSize = requestedSize; return std::make_unique(requestedSize); -- cgit v1.2.1