Remove extraneous explicit

pull/2320/head
Craig Tiller 10 years ago
parent 2ee8f0b978
commit b09caa967d
  1. 2
      include/grpc++/server_builder.h

@ -119,7 +119,7 @@ class ServerBuilder {
typedef std::unique_ptr<grpc::string> HostString;
template <class T> struct NamedService {
explicit NamedService(T* s) : service(s) {}
explicit NamedService(const grpc::string& h, T *s)
NamedService(const grpc::string& h, T *s)
: host(new grpc::string(h)), service(s) {}
HostString host;
T* service;

Loading…
Cancel
Save