aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNarumol Prangnawarat <narumol.prangnawarat@arm.com>2020-06-26 11:00:21 +0100
committerNarumol Prangnawarat <narumol.prangnawarat@arm.com>2020-06-30 08:39:55 +0000
commit3b90af6bb79639d3813f21f3c3017503ee0c66af (patch)
treec5cccdb45ed268a47f5b4c8ac39a389fe037597c /include
parentc0761e9a82ec4d6bd4a81fda018d624659b629a7 (diff)
downloadarmnn-3b90af6bb79639d3813f21f3c3017503ee0c66af.tar.gz
IVGCVSW-5036 Do not allocate memory when import is enabled
Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com> Change-Id: Ideaae5280702aae6c73f3b4e4cee9f71a8386fda
Diffstat (limited to 'include')
-rw-r--r--include/armnn/Exceptions.hpp5
1 files changed, 5 insertions, 0 deletions
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 <typename ExceptionType>
void ConditionalThrow(bool condition, const std::string& message)