From cd422eff155c63cd73bd559c78480a1b2d4d42fd Mon Sep 17 00:00:00 2001 From: Francois Kritzinger Date: Tue, 10 Dec 2024 16:27:29 +0200 Subject: Update module infrastructure --- mod/module.hxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mod/module.hxx') 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 void l1 (const F& f) const {if (verb_ >= 1) f ();} template void l2 (const F& f) const {if (verb_ >= 2) f ();} + template void l3 (const F& f) const {if (verb_ >= 3) f ();} // Set to true when the handler is successfully initialized. // -- cgit v1.1