3
0
Fork 0
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:
Nuno Lopes 2022-02-25 14:32:20 +00:00
parent 7f149a36d7
commit 689e2d41de
7 changed files with 52 additions and 64 deletions

View file

@ -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.