3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-07-29 07:27:57 +00:00

revert last two commits; MSVC doesn't like to statically allocate flexible arrays

This commit is contained in:
Nuno Lopes 2023-12-20 19:10:05 +00:00
parent 6246c6517d
commit c4fa719751
3 changed files with 7 additions and 8 deletions

View file

@ -707,8 +707,6 @@ struct app_flags {
app_flags() : m_depth(1), m_ground(1), m_has_quantifiers(0), m_has_labels(0) {}
};
namespace smt { class tmp_enode; }
class app : public expr {
friend class ast_manager;
@ -722,10 +720,8 @@ class app : public expr {
}
friend class tmp_app;
friend class smt::tmp_enode;
app(func_decl * decl, unsigned num_args, expr * const * args);
app() : expr(AST_APP) {}
public:
func_decl * get_decl() const { return m_decl; }
family_id get_family_id() const { return get_decl()->get_family_id(); }