From 168ac46cdb2afb8e2644357cf458c8f6f54a5fca Mon Sep 17 00:00:00 2001 From: groot Date: Thu, 30 May 2019 09:24:14 +0800 Subject: [PATCH] fix thrift generate error Former-commit-id: 444233484091fe329e190a5fd62bf93c5e26e3f4 --- cpp/src/thrift/cpp_gen.sh | 2 +- cpp/src/thrift/megasearch.thrift | 1 - cpp/src/thrift/py_gen.sh | 2 +- cpp/src/thrift/thrift.REMOVED.git-id | 1 + 4 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 cpp/src/thrift/thrift.REMOVED.git-id diff --git a/cpp/src/thrift/cpp_gen.sh b/cpp/src/thrift/cpp_gen.sh index df04e46c99..1284629e20 100755 --- a/cpp/src/thrift/cpp_gen.sh +++ b/cpp/src/thrift/cpp_gen.sh @@ -1,4 +1,4 @@ #!/bin/bash -../../third_party/build/bin/thrift -r --gen cpp ./megasearch.thrift +./thrift -r --gen cpp ./megasearch.thrift diff --git a/cpp/src/thrift/megasearch.thrift b/cpp/src/thrift/megasearch.thrift index e85b77dc3d..800faf5db8 100644 --- a/cpp/src/thrift/megasearch.thrift +++ b/cpp/src/thrift/megasearch.thrift @@ -3,7 +3,6 @@ * Unauthorized copying of this file, via any medium is strictly prohibited. * Proprietary and confidential. ******************************************************************************/ -namespace cl megasearch.thrift namespace cpp megasearch.thrift namespace py megasearch.thrift namespace d megasearch.thrift diff --git a/cpp/src/thrift/py_gen.sh b/cpp/src/thrift/py_gen.sh index de661cf0c3..49403969a2 100755 --- a/cpp/src/thrift/py_gen.sh +++ b/cpp/src/thrift/py_gen.sh @@ -1,4 +1,4 @@ #!/bin/bash -../../third_party/build/bin/thrift -r --gen py ./megasearch.thrift +./thrift -r --gen py ./megasearch.thrift diff --git a/cpp/src/thrift/thrift.REMOVED.git-id b/cpp/src/thrift/thrift.REMOVED.git-id new file mode 100644 index 0000000000..6c6116d0b1 --- /dev/null +++ b/cpp/src/thrift/thrift.REMOVED.git-id @@ -0,0 +1 @@ +03af6a3a9ba8f449a7722d9b7b6474528a80e48c \ No newline at end of file