diff options
author | Francois Kritzinger <francois@codesynthesis.com> | 2024-12-10 16:27:29 +0200 |
---|---|---|
committer | Francois Kritzinger <francois@codesynthesis.com> | 2024-12-10 16:33:49 +0200 |
commit | cd422eff155c63cd73bd559c78480a1b2d4d42fd (patch) | |
tree | ef8db9b035020ce52ec6ba39c82e6a8a59241952 /mod/module.hxx | |
parent | d716c64e4501a741ac40b0c2fd0303534a7d7f05 (diff) |
Update module infrastructure
Diffstat (limited to 'mod/module.hxx')
-rw-r--r-- | mod/module.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mod/module.hxx b/mod/module.hxx index f3e062e..ba8958a 100644 --- a/mod/module.hxx +++ b/mod/module.hxx @@ -41,6 +41,8 @@ namespace brep diag_data data; server_error (diag_data&& d): data (move (d)) {} + + server_error () = default; }; // Every handler member function that needs to produce any diagnostics @@ -93,6 +95,7 @@ namespace brep template <class F> void l1 (const F& f) const {if (verb_ >= 1) f ();} template <class F> void l2 (const F& f) const {if (verb_ >= 2) f ();} + template <class F> void l3 (const F& f) const {if (verb_ >= 3) f ();} // Set to true when the handler is successfully initialized. // |