chenBright commented on issue #2671: URL: https://github.com/apache/brpc/issues/2671#issuecomment-2232771008
Good idea. Make `RpcPBMessages` like this: ```c++ class RpcPBMessages { public: virtual google::protobuf::Message* Request() = 0; virtual google::protobuf::Message* Response() = 0; }; ``` On the other hand, is `std::unique_ptr` necessary? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org For additional commands, e-mail: dev-h...@brpc.apache.org