summaryrefslogtreecommitdiffhomepage
path: root/dev/lib/core
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-11-17 10:45:15 +0100
committerGitHub <noreply@github.com>2025-11-17 10:45:15 +0100
commit5abec5514a0745b8032d8c60f5752529e4a13eaa (patch)
treec91152ab4cc3a56fbb74d44dc801be5cb8ad3787 /dev/lib/core
parentc6b7510cdb9350c4e129bfcd7959efc4daee9df6 (diff)
parent4700f4d91c342276cc2663f149ed7a8b4e8f3498 (diff)
Merge pull request #8 from amlel-el-mahrouss/developv1.0.45
release: Mojave
Diffstat (limited to 'dev/lib/core')
-rw-r--r--dev/lib/core/error_handler.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/dev/lib/core/error_handler.hpp b/dev/lib/core/error_handler.hpp
index 593e54a..67bf7b4 100644
--- a/dev/lib/core/error_handler.hpp
+++ b/dev/lib/core/error_handler.hpp
@@ -9,7 +9,7 @@
#define _OCL_ERROR_HANDLER_HPP
#include <lib/core/includes.hpp>
-#include <stdexcept>
+#include <lib/io/print.hpp>
namespace ocl
{
@@ -25,11 +25,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