aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/core/Error.h
diff options
context:
space:
mode:
Diffstat (limited to 'arm_compute/core/Error.h')
-rw-r--r--arm_compute/core/Error.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/arm_compute/core/Error.h b/arm_compute/core/Error.h
index 277db9d64d..bd80aa4162 100644
--- a/arm_compute/core/Error.h
+++ b/arm_compute/core/Error.h
@@ -25,7 +25,6 @@
#define __ARM_COMPUTE_ERROR_H__
#include <stdarg.h>
-#include <stdexcept>
#include <string>
namespace arm_compute
@@ -97,10 +96,7 @@ public:
private:
/** Internal throwing function */
- [[noreturn]] void internal_throw_on_error()
- {
- throw std::runtime_error(_description);
- }
+ [[noreturn]] void internal_throw_on_error();
private:
ErrorCode _code;