Skip to content
Snippets Groups Projects
Commit c645306b authored by Craig Tiller's avatar Craig Tiller
Browse files

Fixes

parent 0d1f67f4
No related branches found
No related tags found
No related merge requests found
...@@ -82,7 +82,7 @@ class AsynchronousService { ...@@ -82,7 +82,7 @@ class AsynchronousService {
size_t method_count) size_t method_count)
: cq_(cq), method_names_(method_names), method_count_(method_count) {} : cq_(cq), method_names_(method_names), method_count_(method_count) {}
~AsynchronousService(); ~AsynchronousService() { delete[] request_args_; }
CompletionQueue* completion_queue() const { return cq_; } CompletionQueue* completion_queue() const { return cq_; }
...@@ -125,4 +125,4 @@ class AsynchronousService { ...@@ -125,4 +125,4 @@ class AsynchronousService {
} // namespace grpc } // namespace grpc
#endif // __GRPCPP_IMPL_SERVICE_TYPE_H__ #endif // __GRPCPP_IMPL_SERVICE_TYPE_H__
\ No newline at end of file
...@@ -49,6 +49,8 @@ template <class R> ...@@ -49,6 +49,8 @@ template <class R>
class ServerAsyncReader; class ServerAsyncReader;
template <class W> template <class W>
class ServerAsyncWriter; class ServerAsyncWriter;
template <class W>
class ServerAsyncResponseWriter;
template <class R, class W> template <class R, class W>
class ServerAsyncReaderWriter; class ServerAsyncReaderWriter;
template <class R> template <class R>
...@@ -80,6 +82,8 @@ class ServerContext final { ...@@ -80,6 +82,8 @@ class ServerContext final {
friend class ::grpc::ServerAsyncReader; friend class ::grpc::ServerAsyncReader;
template <class W> template <class W>
friend class ::grpc::ServerAsyncWriter; friend class ::grpc::ServerAsyncWriter;
template <class W>
friend class ::grpc::ServerAsyncResponseWriter;
template <class R, class W> template <class R, class W>
friend class ::grpc::ServerAsyncReaderWriter; friend class ::grpc::ServerAsyncReaderWriter;
template <class R> template <class R>
......
...@@ -38,6 +38,8 @@ ...@@ -38,6 +38,8 @@
namespace grpc { namespace grpc {
ServerContext::ServerContext() {}
ServerContext::ServerContext(gpr_timespec deadline, grpc_metadata *metadata, ServerContext::ServerContext(gpr_timespec deadline, grpc_metadata *metadata,
size_t metadata_count) size_t metadata_count)
: deadline_(Timespec2Timepoint(deadline)) { : deadline_(Timespec2Timepoint(deadline)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment