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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]