mirror of
https://github.com/Z3Prover/z3
synced 2025-04-27 10:55:50 +00:00
Use = delete
to delete special methods.
This provides a better experience than just marking them as private and leaving them as undefined symbols.
This commit is contained in:
parent
059b795faa
commit
82d853e5f8
9 changed files with 24 additions and 30 deletions
|
@ -48,14 +48,14 @@ class smaller_pattern {
|
|||
void save(expr * p1, expr * p2);
|
||||
bool process(expr * p1, expr * p2);
|
||||
|
||||
smaller_pattern & operator=(smaller_pattern const &);
|
||||
|
||||
public:
|
||||
|
||||
smaller_pattern(ast_manager & m):
|
||||
m(m) {
|
||||
}
|
||||
|
||||
smaller_pattern & operator=(smaller_pattern const &) = delete;
|
||||
|
||||
bool operator()(unsigned num_bindings, expr * p1, expr * p2);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue