aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--solidityJSONInterfaceTest.cpp2
-rw-r--r--solidityNatspecJSON.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/solidityJSONInterfaceTest.cpp b/solidityJSONInterfaceTest.cpp
index 8fe0ea65..407f05d0 100644
--- a/solidityJSONInterfaceTest.cpp
+++ b/solidityJSONInterfaceTest.cpp
@@ -50,7 +50,7 @@ public:
msg += *extra;
BOOST_FAIL(msg);
}
- std::string generatedInterfaceString = *m_compilerStack.getJsonDocumentation(ABI_INTERFACE);
+ std::string generatedInterfaceString = m_compilerStack.getJsonDocumentation(ABI_INTERFACE);
Json::Value generatedInterface;
m_reader.parse(generatedInterfaceString, generatedInterface);
Json::Value expectedInterface;
diff --git a/solidityNatspecJSON.cpp b/solidityNatspecJSON.cpp
index 9596f2b8..2ccedf7a 100644
--- a/solidityNatspecJSON.cpp
+++ b/solidityNatspecJSON.cpp
@@ -55,9 +55,9 @@ public:
}
if (_userDocumentation)
- generatedDocumentationString = *m_compilerStack.getJsonDocumentation(NATSPEC_USER);
+ generatedDocumentationString = m_compilerStack.getJsonDocumentation(NATSPEC_USER);
else
- generatedDocumentationString = *m_compilerStack.getJsonDocumentation(NATSPEC_DEV);
+ generatedDocumentationString = m_compilerStack.getJsonDocumentation(NATSPEC_DEV);
Json::Value generatedDocumentation;
m_reader.parse(generatedDocumentationString, generatedDocumentation);
Json::Value expectedDocumentation;