This is an automated email from the ASF dual-hosted git repository.
jking pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/thrift.git
The following commit(s) were added to refs/heads/master by this push:
new 14190de THRIFT-4644: Compiler cannot be compiled on macOS (#1601)
14190de is described below
commit 14190de4cb44d7d6cfd09a1332795ee8e4a46035
Author: Tsuzu <[email protected]>
AuthorDate: Wed Oct 3 20:57:17 2018 +0900
THRIFT-4644: Compiler cannot be compiled on macOS (#1601)
Client: compiler
---
compiler/cpp/src/thrift/generate/t_py_generator.cc | 2 +-
1 file changed, 1 insertion(+), 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 93ba3d0..9c82b6c 100644
--- a/compiler/cpp/src/thrift/generate/t_py_generator.cc
+++ b/compiler/cpp/src/thrift/generate/t_py_generator.cc
@@ -335,7 +335,7 @@ private:
std::string module_;
protected:
- virtual std::set<std::string> lang_keywords() {
+ virtual std::set<std::string> lang_keywords() const {
std::string keywords[] = { "False", "None", "True", "and", "as", "assert",
"break", "class",
"continue", "def", "del", "elif", "else", "except", "exec",
"finally", "for", "from",
"global", "if", "import", "in", "is", "lambda", "nonlocal", "not",
"or", "pass", "print",