Protobuf: refactored name of integer argument of enums in generated code

This commit is contained in:
dsavvinov
2016-08-12 17:25:22 +03:00
parent dbcd02efb5
commit 13bac3aa11
@@ -36,7 +36,7 @@ void EnumGenerator::generateCode(io::Printer * printer) const {
map <string, string> vars;
vars["name"] = simpleName;
printer->Print(vars,
"enum class $name$(val ord: Int) {"
"enum class $name$(val id: Int) {"
"\n"
);
printer->Indent();