aboutsummaryrefslogtreecommitdiffstats
path: root/CompilerStack.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'CompilerStack.cpp')
-rw-r--r--CompilerStack.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/CompilerStack.cpp b/CompilerStack.cpp
index e25438f7..77a019b5 100644
--- a/CompilerStack.cpp
+++ b/CompilerStack.cpp
@@ -134,7 +134,7 @@ string const& CompilerStack::getDocumentation()
if (m_documentation.empty())
{
Json::Value doc;
- Json::Value methods;
+ Json::Value methods(Json::objectValue);
vector<FunctionDefinition const*> exportedFunctions = m_contractASTNode->getInterfaceFunctions();
for (FunctionDefinition const* f: exportedFunctions)