diff options
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. // |