3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-07-22 20:32:05 +00:00

remove unneeded constructors (last round)

This commit is contained in:
Nuno Lopes 2020-07-12 17:41:57 +01:00
parent 44ec259c4c
commit bb26f219fe
37 changed files with 65 additions and 276 deletions

View file

@ -58,17 +58,6 @@ public:
stacked_value(const T&& m) {
m_value = std::move(m);
}
T& operator=(T arg) { // copy/move constructor
m_value = arg;
return m_value;
}
stacked_value& operator=(stacked_value const& other) {
m_value = other.m_value;
m_stack = other.m_stack;
return *this;
}
operator T&() {
return m_value;