Replacing old cstyle enums with c++11 enums in natspec

This commit is contained in:
Lefteris Karapetsas
2014-12-05 15:50:39 +01:00
parent c8f96589c5
commit 407f11ba76
4 changed files with 35 additions and 35 deletions
+2 -2
View File
@@ -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; }