mirror of
https://github.com/Z3Prover/z3
synced 2025-08-17 08:42:15 +00:00
remove a bunch of unneeded memory allocations
This commit is contained in:
parent
7f149a36d7
commit
689e2d41de
7 changed files with 52 additions and 64 deletions
|
@ -85,8 +85,8 @@ public:
|
|||
module.
|
||||
*/
|
||||
|
||||
typedef std::function<param_descrs*(void)> lazy_descrs_t;
|
||||
static void register_module(char const* module_name, lazy_descrs_t& get_descrs);
|
||||
typedef param_descrs* (*lazy_descrs_t)(void);
|
||||
static void register_module(char const* module_name, lazy_descrs_t get_descrs);
|
||||
|
||||
/**
|
||||
\brief Add a (small) description to the given module.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue