From 3b90af6bb79639d3813f21f3c3017503ee0c66af Mon Sep 17 00:00:00 2001 From: Narumol Prangnawarat Date: Fri, 26 Jun 2020 11:00:21 +0100 Subject: IVGCVSW-5036 Do not allocate memory when import is enabled Signed-off-by: Narumol Prangnawarat Change-Id: Ideaae5280702aae6c73f3b4e4cee9f71a8386fda --- include/armnn/Exceptions.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/armnn/Exceptions.hpp') diff --git a/include/armnn/Exceptions.hpp b/include/armnn/Exceptions.hpp index 2f7b099ac4..e3f086e376 100644 --- a/include/armnn/Exceptions.hpp +++ b/include/armnn/Exceptions.hpp @@ -149,6 +149,11 @@ public: using Exception::Exception; }; +class NullPointerException : public Exception +{ +public: + using Exception::Exception; +}; template void ConditionalThrow(bool condition, const std::string& message) -- cgit v1.2.1