You should never modify the generated code by hand. Implement them in a separate file.
On Fri, Sep 28, 2012 at 1:07 PM, Nan Zhu <[email protected]> wrote: > Hi, all > > I met a question during my development using Thrift > > e.g. at the beginning of the project, I generate the c++ code from > ".thrift" file, and then I work on those RPC callees to implement them, > after that, I found I need to add another callee to the system, I modify > the .thrift file and generate the C++ code again, > > how should I merge the new version of generated code with my implemented > version? do I need to copy the related part manually(e.g. new callee > declaration)? > > Thank you! > > Best, > > -- > Nan Zhu > School of Computer Science, > McGill University > >
