summaryrefslogtreecommitdiffhomepage
path: root/dev/lib/core
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2025-09-17 10:06:21 +0200
committerGitHub <noreply@github.com>2025-09-17 10:06:21 +0200
commit94799223495b9842bca67e1a6ecf611cec3ee771 (patch)
tree435f5b6adb6889462640b1456e684360cd7e495f /dev/lib/core
parent6789dd7d88a192e3f55b95798cb393e7d12f368a (diff)
parentfa4748e414e9494442f9bcde9c659d3951af19c0 (diff)
(SCL: v1.0.44) Merge pull request #1 from snu-systems-corp/dev
SCL: v1.0.44
Diffstat (limited to 'dev/lib/core')
-rw-r--r--dev/lib/core/error_handler.hpp4
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