This is an automated email from the ASF dual-hosted git repository. jensg pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/thrift.git
commit c4e5dbac2ad1c0020a58dae4968d0ac7dcc188f1 Author: Kevin Wojniak <[email protected]> AuthorDate: Sat Jan 22 20:09:37 2022 -0800 match existing style for setting default value of gen_enum_ --- compiler/cpp/src/thrift/generate/t_py_generator.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/compiler/cpp/src/thrift/generate/t_py_generator.cc b/compiler/cpp/src/thrift/generate/t_py_generator.cc index 38792fd..f330b50 100644 --- a/compiler/cpp/src/thrift/generate/t_py_generator.cc +++ b/compiler/cpp/src/thrift/generate/t_py_generator.cc @@ -64,6 +64,7 @@ public: gen_zope_interface_ = false; gen_twisted_ = false; gen_dynamic_ = false; + gen_enum_ = false; coding_ = ""; gen_dynbaseclass_ = ""; gen_dynbaseclass_exc_ = ""; @@ -297,7 +298,7 @@ private: * True if we should generate new-style classes. */ bool gen_newstyle_; - bool gen_enum_{false}; + bool gen_enum_; /** * True if we should generate dynamic style classes.
