diff options
author | yang-g <yangg@google.com> | 2015-08-13 14:47:42 -0700 |
---|---|---|
committer | yang-g <yangg@google.com> | 2015-08-13 14:47:42 -0700 |
commit | 523201cee080457cb1386f729c2af4cff1477c92 (patch) | |
tree | e549ed07ea668709052b4e98bdc21fc04d188935 | |
parent | 9b7757dd356dae2549433d5b2686ce9a902c7bcc (diff) |
remove redundant ctor
-rw-r--r-- | src/cpp/server/server.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpp/server/server.cc b/src/cpp/server/server.cc index c054eb0a7d..600ce834cf 100644 --- a/src/cpp/server/server.cc +++ b/src/cpp/server/server.cc @@ -286,7 +286,7 @@ bool Server::Start() { if (!has_generic_service_) { unknown_method_.reset(new RpcServiceMethod( "unknown", RpcMethod::BIDI_STREAMING, new UnknownMethodHandler)); - sync_methods_->emplace_back(SyncRequest(unknown_method_.get(), nullptr)); + sync_methods_->emplace_back(unknown_method_.get(), nullptr); } // Start processing rpcs. if (!sync_methods_->empty()) { |