From e796e4c36950a7697f6c7c509db8d31aa3c5d81b Mon Sep 17 00:00:00 2001 From: etherealjoy <33183834+etherealjoy@users.noreply.github.com> Date: Thu, 15 Mar 2018 13:41:42 +0100 Subject: [PATCH] [C++] Add linux as a reserve keyword (#7844) * Small fixes to prevent crash when empty json body is provided. * Add linux as a reserved keyword * Small reorder of introduced keyword --- .../java/io/swagger/codegen/languages/AbstractCppCodegen.java | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/AbstractCppCodegen.java b/modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/AbstractCppCodegen.java index 8fa66fa6aa8e..e4831843716a 100644 --- a/modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/AbstractCppCodegen.java +++ b/modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/AbstractCppCodegen.java @@ -58,6 +58,7 @@ public AbstractCppCodegen() { "if", "inline", "int", + "linux", "long", "mutable", "namespace",