mirror of
https://github.com/Z3Prover/z3
synced 2025-04-27 10:55:50 +00:00
remove a bunch of constructors to avoid copies
still not enough to guarantee that vector::expand doesnt copy (WIP)
This commit is contained in:
parent
98b5abb1d4
commit
7ac2791482
16 changed files with 66 additions and 83 deletions
|
@ -36,9 +36,6 @@ class hwf {
|
|||
}
|
||||
|
||||
public:
|
||||
hwf() {}
|
||||
hwf(hwf const & other) { this->value = other.value; }
|
||||
~hwf() {}
|
||||
void swap(hwf & other) { double t = value; value = other.value; other.value = t; }
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue