diff options
author | Ian Coolidge <icoolidge@google.com> | 2016-01-11 13:31:03 -0800 |
---|---|---|
committer | Ian Coolidge <icoolidge@google.com> | 2016-01-11 14:19:58 -0800 |
commit | 8e7a4b66e8d5480c9f3040f5d2098fa9138f0925 (patch) | |
tree | d1430f685450c4dbac9d4b6d30eb4882838c6dc6 /include/grpc++/channel.h | |
parent | 09d8cf61b2db4d2874cec05445d4c304f11788a4 (diff) |
Fix R/W template argument order in prototypes
In some cases, the prototype argument order was different
than the declaration order.
Based on a patch from Sam Leffler.
Diffstat (limited to 'include/grpc++/channel.h')
-rw-r--r-- | include/grpc++/channel.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/grpc++/channel.h b/include/grpc++/channel.h index d6d72a9cf9..de3ebfebd4 100644 --- a/include/grpc++/channel.h +++ b/include/grpc++/channel.h @@ -54,13 +54,13 @@ template <class R> class ClientReader; template <class W> class ClientWriter; -template <class R, class W> +template <class W, class R> class ClientReaderWriter; template <class R> class ClientAsyncReader; template <class W> class ClientAsyncWriter; -template <class R, class W> +template <class W, class R> class ClientAsyncReaderWriter; template <class R> class ClientAsyncResponseReader; @@ -98,13 +98,13 @@ class Channel GRPC_FINAL : public GrpcLibrary, friend class ::grpc::ClientReader; template <class W> friend class ::grpc::ClientWriter; - template <class R, class W> + template <class W, class R> friend class ::grpc::ClientReaderWriter; template <class R> friend class ::grpc::ClientAsyncReader; template <class W> friend class ::grpc::ClientAsyncWriter; - template <class R, class W> + template <class W, class R> friend class ::grpc::ClientAsyncReaderWriter; template <class R> friend class ::grpc::ClientAsyncResponseReader; |