diff options
author | Bhargava Shastry <bshastry@sect.tu-berlin.de> | 2018-10-17 22:46:18 +0800 |
---|---|---|
committer | Bhargava Shastry <bshastry@sect.tu-berlin.de> | 2018-10-17 22:46:18 +0800 |
commit | 67fd3ca4a7089fbfcda9cafd15ddfb281ead85c9 (patch) | |
tree | ccfc609fda5ef67bd1073e2a1429a3ed5b3f3d51 | |
parent | 546b08c158723d560b8eb4c78032043338e65590 (diff) | |
download | dexon-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.h | 6 |
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: |