mirror of
https://github.com/Z3Prover/z3
synced 2025-05-14 11:14:43 +00:00
Add goodies
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
81807c7001
commit
1712f0a33b
2 changed files with 11 additions and 2 deletions
|
@ -231,8 +231,13 @@ public:
|
|||
SASSERT(size() == nsz);
|
||||
}
|
||||
|
||||
private:
|
||||
buffer& operator=(buffer const&);
|
||||
buffer & operator=(buffer const & other) {
|
||||
if (this == &other)
|
||||
return *this;
|
||||
reset();
|
||||
append(other);
|
||||
return *this;
|
||||
}
|
||||
};
|
||||
|
||||
template<typename T, unsigned INITIAL_SIZE=16>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue