diff options
author | Craig Tiller <craig.tiller@gmail.com> | 2015-07-07 16:28:20 -0700 |
---|---|---|
committer | Craig Tiller <craig.tiller@gmail.com> | 2015-07-07 16:28:20 -0700 |
commit | d9b6fcfee4cb986f148762a4a7d0794de9b3ba62 (patch) | |
tree | 0115646d979131d8a4721ad7ef086f2df8415001 /include | |
parent | 822d2c7bebf9810903bdc63e24dc26eb2640f756 (diff) |
Support older compilers
Diffstat (limited to 'include')
-rw-r--r-- | include/grpc++/server_builder.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/grpc++/server_builder.h b/include/grpc++/server_builder.h index 2003d18ef5..d6bb3bd090 100644 --- a/include/grpc++/server_builder.h +++ b/include/grpc++/server_builder.h @@ -121,8 +121,8 @@ class ServerBuilder { }; int max_message_size_; - std::vector<NamedService<RpcService>> services_; - std::vector<NamedService<AsynchronousService>> async_services_; + std::vector<std::unique_ptr<NamedService<RpcService>>> services_; + std::vector<std::unique_ptr<NamedService<AsynchronousService>>> async_services_; std::vector<Port> ports_; std::vector<ServerCompletionQueue*> cqs_; std::shared_ptr<ServerCredentials> creds_; |