aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBhargava Shastry <bshastry@sect.tu-berlin.de>2018-10-17 22:46:18 +0800
committerBhargava Shastry <bshastry@sect.tu-berlin.de>2018-10-17 22:46:18 +0800
commit67fd3ca4a7089fbfcda9cafd15ddfb281ead85c9 (patch)
treeccfc609fda5ef67bd1073e2a1429a3ed5b3f3d51
parent546b08c158723d560b8eb4c78032043338e65590 (diff)
downloaddexon-solidity-67fd3ca4a7089fbfcda9cafd15ddfb281ead85c9.tar.gz
dexon-solidity-67fd3ca4a7089fbfcda9cafd15ddfb281ead85c9.tar.zst
dexon-solidity-67fd3ca4a7089fbfcda9cafd15ddfb281ead85c9.zip
Retained move/copy semantics; removed const qualifier from Expression's members name (of type std::string) and arguments (of type std::vector<Expression>)
-rw-r--r--libsolidity/formal/SolverInterface.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/libsolidity/formal/SolverInterface.h b/libsolidity/formal/SolverInterface.h
index 2c450942..af1cc8e4 100644
--- a/libsolidity/formal/SolverInterface.h
+++ b/libsolidity/formal/SolverInterface.h
@@ -62,6 +62,8 @@ public:
Expression(Expression const&) = default;
Expression(Expression&&) = default;
+ Expression& operator=(Expression const&) = default;
+ Expression& operator=(Expression&&) = default;
bool hasCorrectArity() const
{
@@ -169,8 +171,8 @@ public:
}
}
- std::string const name;
- std::vector<Expression> const arguments;
+ std::string name;
+ std::vector<Expression> arguments;
Sort sort;
private: