Merge pull request #4144 from raingo/master

use 'typedef' instead of 'using' to compile on gcc4.8.2
This commit is contained in:
Maciek Chociej 2016-09-01 18:47:58 -04:00 committed by GitHub
commit 461caa8613

View File

@ -247,7 +247,7 @@ class Call : public UntypedCall<Service> {
// Used as void* completion markers from grpc to indicate different
// events of interest for a Call.
using typename UntypedCall<Service>::Tag;
typedef typename UntypedCall<Service>::Tag Tag;
Tag request_received_tag_{this, Tag::kRequestReceived};
Tag response_sent_tag_{this, Tag::kResponseSent};
Tag cancelled_tag_{this, Tag::kCancelled};