mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix segfault in ast output.
This commit is contained in:
@@ -86,7 +86,7 @@ string ASTJsonConverter::sourceLocationToString(SourceLocation const& _location)
|
||||
|
||||
ASTJsonConverter::ASTJsonConverter(
|
||||
ASTNode const& _ast,
|
||||
map<string, unsigned> const& _sourceIndices
|
||||
map<string, unsigned> _sourceIndices
|
||||
): m_ast(&_ast), m_sourceIndices(_sourceIndices)
|
||||
{
|
||||
Json::Value children(Json::arrayValue);
|
||||
|
||||
Reference in New Issue
Block a user