diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-09-12 20:23:39 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-09-12 20:23:39 +0200 |
| commit | fa4748e414e9494442f9bcde9c659d3951af19c0 (patch) | |
| tree | 435f5b6adb6889462640b1456e684360cd7e495f /dev/lib/core | |
| parent | 3f9c5017abf3c4279780f685580a334574e6d760 (diff) | |
feat: dev/lib: new `basic_simd` class, better `error_handler` class.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev/lib/core')
| -rw-r--r-- | dev/lib/core/error_handler.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/dev/lib/core/error_handler.hpp b/dev/lib/core/error_handler.hpp index 593e54a..1a1515d 100644 --- a/dev/lib/core/error_handler.hpp +++ b/dev/lib/core/error_handler.hpp @@ -9,6 +9,7 @@ #define _OCL_ERROR_HANDLER_HPP #include <lib/core/includes.hpp> +#include <lib/io/print.hpp> #include <stdexcept> namespace ocl @@ -25,11 +26,12 @@ namespace ocl virtual void operator()(const std::basic_string<char>& msg) { - ((void)msg); + ocl::io::print(msg); } }; using standard_error_handler = basic_error_handler; + using error_handler_type = basic_error_handler; } // namespace ocl #endif // ifndef _OCL_ERROR_HANDLER_HPP |
