diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/core/Error.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/Error.cpp b/src/core/Error.cpp index 3b0a012f5f..be362bb7cf 100644 --- a/src/core/Error.cpp +++ b/src/core/Error.cpp @@ -56,3 +56,7 @@ void arm_compute::error(const char *function, const char *file, const int line, va_end(args); throw std::runtime_error(err.description()); } +void Error::internal_throw_on_error() +{ + throw std::runtime_error(_description); +} |