mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Retained move/copy semantics; removed const qualifier from Expression's members name (of type std::string) and arguments (of type std::vector<Expression>)
This commit is contained in:
parent
546b08c158
commit
67fd3ca4a7
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user