Merge pull request #17434 from vjpai/delete

Delete unwanted constructor/assignment
pull/17512/head
Vijay Pai 6 years ago committed by GitHub
commit 23817e1738
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      include/grpcpp/impl/codegen/server_interceptor.h

@ -50,8 +50,8 @@ class ServerRpcInfo {
~ServerRpcInfo(){}; ~ServerRpcInfo(){};
ServerRpcInfo(const ServerRpcInfo&) = delete; ServerRpcInfo(const ServerRpcInfo&) = delete;
ServerRpcInfo(ServerRpcInfo&&) = default; ServerRpcInfo(ServerRpcInfo&&) = delete;
ServerRpcInfo& operator=(ServerRpcInfo&&) = default; ServerRpcInfo& operator=(ServerRpcInfo&&) = delete;
// Getter methods // Getter methods
const char* method() const { return method_; } const char* method() const { return method_; }

Loading…
Cancel
Save