diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-08-29 10:26:55 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-08-29 10:27:25 +0200 |
| commit | ea7557ebda2dc90804223bf9b41eece46b8b4b52 (patch) | |
| tree | 230ed0b146468d602112a7bba4da081120680d37 /dev | |
| parent | 346a7af8b1774ab085114aa3573fbf400683552d (diff) | |
feat: fix standard implementation of `basic_error_handler`v1.0.42
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev')
| -rw-r--r-- | dev/lib/core/error_handler.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dev/lib/core/error_handler.hpp b/dev/lib/core/error_handler.hpp index 0331f81..01d36b1 100644 --- a/dev/lib/core/error_handler.hpp +++ b/dev/lib/core/error_handler.hpp @@ -23,9 +23,9 @@ namespace ocl basic_error_handler& operator=(const basic_error_handler&) = delete; basic_error_handler(const basic_error_handler&) = delete; - void operator()(const std::basic_string<char>& msg) + virtual void operator()(const std::basic_string<char>& msg) { - throw std::runtime_error(msg); + ((void)msg); } }; |
