diff --git a/src/rest.cpp b/src/rest.cpp --- a/src/rest.cpp +++ b/src/rest.cpp @@ -37,7 +37,7 @@ }; static const struct { - enum RetFormat rf; + RetFormat rf; const char *name; } rf_names[] = { {RetFormat::UNDEF, ""}, @@ -72,8 +72,8 @@ return false; } -static enum RetFormat ParseDataFormat(std::string ¶m, - const std::string &strReq) { +static RetFormat ParseDataFormat(std::string ¶m, + const std::string &strReq) { const std::string::size_type pos = strReq.rfind('.'); if (pos == std::string::npos) { param = strReq;