summaryrefslogtreecommitdiffhomepage
path: root/dev/lib
diff options
context:
space:
mode:
Diffstat (limited to 'dev/lib')
-rw-r--r--dev/lib/core/error_handler.hpp4
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);
}
};