diff options
author | Lefteris Karapetsas <lefteris@refu.co> | 2014-12-05 22:50:39 +0800 |
---|---|---|
committer | Lefteris Karapetsas <lefteris@refu.co> | 2014-12-05 22:50:39 +0800 |
commit | 407f11ba7689cdd6ea856dc857a07f761255e80d (patch) | |
tree | 55dd6f5c5879bd5c81035517b328ba180e617b02 /CompilerStack.h | |
parent | c8f96589c58c1a0ab290a192e4aa1dfb263d01df (diff) | |
download | dexon-solidity-407f11ba7689cdd6ea856dc857a07f761255e80d.tar.gz dexon-solidity-407f11ba7689cdd6ea856dc857a07f761255e80d.tar.zst dexon-solidity-407f11ba7689cdd6ea856dc857a07f761255e80d.zip |
Replacing old cstyle enums with c++11 enums in natspec
Diffstat (limited to 'CompilerStack.h')
-rw-r--r-- | CompilerStack.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CompilerStack.h b/CompilerStack.h index 8dc546fb..928815cc 100644 --- a/CompilerStack.h +++ b/CompilerStack.h @@ -37,7 +37,7 @@ class Compiler; class GlobalContext; class InterfaceHandler; -enum DocumentationType: unsigned short +enum class DocumentationType: uint8_t { NATSPEC_USER = 1, NATSPEC_DEV, @@ -74,7 +74,7 @@ public: /// Prerequisite: Successful call to parse or compile. /// @param type The type of the documentation to get. /// Can be one of 3 types defined at @c documentation_type - std::string const& getJsonDocumentation(enum DocumentationType type); + std::string const& getJsonDocumentation(DocumentationType type); /// Returns the previously used scanner, useful for counting lines during error reporting. Scanner const& getScanner() const { return *m_scanner; } |