Commit 2cafaf51 authored by wangxuefeng's avatar wangxuefeng

Remove extra set_thrift_method_name

parent a9d8d2a8
......@@ -444,14 +444,9 @@ public:
void set_idl_result(int64_t result) { _idl_result = result; }
int64_t idl_result() const { return _idl_result; }
void set_thrift_method_name(std::string& method_name) {
void set_thrift_method_name(const std::string& method_name) {
_thrift_method_name = method_name;
}
void set_thrift_method_name(std::string method_name) {
_thrift_method_name = method_name;
}
std::string thrift_method_name() { return _thrift_method_name; }
private:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment