Fix segfault in ast output.

This commit is contained in:
chriseth
2016-08-08 19:10:17 +02:00
parent 2fcc6ec335
commit ac8e726970
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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);