aboutsummaryrefslogtreecommitdiffstats
path: root/solidityNatspecJSON.cpp
diff options
context:
space:
mode:
authorLefteris Karapetsas <lefteris@refu.co>2014-12-05 22:50:39 +0800
committerLefteris Karapetsas <lefteris@refu.co>2014-12-05 22:50:39 +0800
commit9eee435bf4c0901e5a9d9311c9a3e6fbc0fb542d (patch)
treef2283b10456a4a86e9001f4dc385c3ef67b060f4 /solidityNatspecJSON.cpp
parent80ad71576459f0401d838aa97b62bc40607dbafb (diff)
downloaddexon-solidity-9eee435bf4c0901e5a9d9311c9a3e6fbc0fb542d.tar.gz
dexon-solidity-9eee435bf4c0901e5a9d9311c9a3e6fbc0fb542d.tar.zst
dexon-solidity-9eee435bf4c0901e5a9d9311c9a3e6fbc0fb542d.zip
Replacing old cstyle enums with c++11 enums in natspec
Diffstat (limited to 'solidityNatspecJSON.cpp')
-rw-r--r--solidityNatspecJSON.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/solidityNatspecJSON.cpp b/solidityNatspecJSON.cpp
index 2ccedf7a..5e4c1fca 100644
--- a/solidityNatspecJSON.cpp
+++ b/solidityNatspecJSON.cpp
@@ -55,9 +55,9 @@ public:
}
if (_userDocumentation)
- generatedDocumentationString = m_compilerStack.getJsonDocumentation(NATSPEC_USER);
+ generatedDocumentationString = m_compilerStack.getJsonDocumentation(DocumentationType::NATSPEC_USER);
else
- generatedDocumentationString = m_compilerStack.getJsonDocumentation(NATSPEC_DEV);
+ generatedDocumentationString = m_compilerStack.getJsonDocumentation(DocumentationType::NATSPEC_DEV);
Json::Value generatedDocumentation;
m_reader.parse(generatedDocumentationString, generatedDocumentation);
Json::Value expectedDocumentation;