From 523201cee080457cb1386f729c2af4cff1477c92 Mon Sep 17 00:00:00 2001 From: yang-g Date: Thu, 13 Aug 2015 14:47:42 -0700 Subject: [PATCH] remove redundant ctor --- src/cpp/server/server.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cpp/server/server.cc b/src/cpp/server/server.cc index c054eb0a7dc..600ce834cff 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()) {