3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-14 14:55:25 +00:00

remove default constructor

This commit is contained in:
Nuno Lopes 2025-08-03 09:52:53 +01:00
parent 89cc9bd333
commit 97aa46add3

View file

@ -28,9 +28,8 @@ enum event_handler_caller_t {
class event_handler {
protected:
event_handler_caller_t m_caller_id;
event_handler_caller_t m_caller_id = UNSET_EH_CALLER;
public:
event_handler(): m_caller_id(UNSET_EH_CALLER) {}
virtual ~event_handler() = default;
virtual void operator()(event_handler_caller_t caller_id) = 0;
event_handler_caller_t caller_id() const { return m_caller_id; }