FIX: TException name conflict
diff --git a/compiler/cpp/src/thrift/generate/t_delphi_generator.cc b/compiler/cpp/src/thrift/generate/t_delphi_generator.cc
index e6f6579..dc85f60 100644
--- a/compiler/cpp/src/thrift/generate/t_delphi_generator.cc
+++ b/compiler/cpp/src/thrift/generate/t_delphi_generator.cc
@@ -423,8 +423,9 @@
};
// reserved variables and types (lowercase!)
- const std::string DELPHI_RESERVED_NAMES[10] = {
- "result", "system", "sysutils", "types", "tbytes", "tclass", "thrift", "tinterfacedobject", "tobject", "ttask"
+ const std::string DELPHI_RESERVED_NAMES[11] = {
+ "result", "system", "sysutils", "types", "texception", "tbytes", "tclass", "thrift", "tinterfacedobject",
+ "tobject", "ttask"
};
// reserved method names (lowercase!)