From ea7557ebda2dc90804223bf9b41eece46b8b4b52 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Fri, 29 Aug 2025 10:26:55 +0200 Subject: feat: fix standard implementation of `basic_error_handler` Signed-off-by: Amlal El Mahrouss --- dev/lib/core/error_handler.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dev/lib/core') 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& msg) + virtual void operator()(const std::basic_string& msg) { - throw std::runtime_error(msg); + ((void)msg); } }; -- cgit v1.2.3