aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/AST.h
diff options
context:
space:
mode:
authorLianaHus <liana@ethdev.com>2015-09-17 21:04:44 +0800
committerLianaHus <liana@ethdev.com>2015-09-17 21:15:46 +0800
commite50400082b1fe3b1086d8ebb874b12b30ef2ff92 (patch)
tree3bb55ebfe31cbb3a15b7ffa306a4e1a1d99325ae /libsolidity/AST.h
parente89b8d516b7e208bc67e273e174714f7f9b67b77 (diff)
downloaddexon-solidity-e50400082b1fe3b1086d8ebb874b12b30ef2ff92.tar.gz
dexon-solidity-e50400082b1fe3b1086d8ebb874b12b30ef2ff92.tar.zst
dexon-solidity-e50400082b1fe3b1086d8ebb874b12b30ef2ff92.zip
fixed using string as a type for struct member
Diffstat (limited to 'libsolidity/AST.h')
-rw-r--r--libsolidity/AST.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/libsolidity/AST.h b/libsolidity/AST.h
index de0ef3ef..ba529a8a 100644
--- a/libsolidity/AST.h
+++ b/libsolidity/AST.h
@@ -347,10 +347,13 @@ private:
class StructDefinition: public Declaration
{
public:
- StructDefinition(SourceLocation const& _location,
- ASTPointer<ASTString> const& _name,
- std::vector<ASTPointer<VariableDeclaration>> const& _members):
+ StructDefinition(
+ SourceLocation const& _location,
+ ASTPointer<ASTString> const& _name,
+ std::vector<ASTPointer<VariableDeclaration>> const& _members
+ ):
Declaration(_location, _name), m_members(_members) {}
+
virtual void accept(ASTVisitor& _visitor) override;
virtual void accept(ASTConstVisitor& _visitor) const override;