aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/compiler
diff options
context:
space:
mode:
authorGravatar Vijay Pai <vpai@google.com>2016-08-25 15:33:02 -0700
committerGravatar Vijay Pai <vpai@google.com>2016-08-25 15:33:02 -0700
commitcdc253535bb879918b9bd66b29007f27219f6e2e (patch)
tree9208a299a0747e18628c03828ce3c93d3b00fca2 /src/compiler
parentac4113bef128abd57cc166a4921063b0b4c5278d (diff)
Remove FC_UNARY enum and treat it more like a special case of BIDI_STREAMING
in all cases
Diffstat (limited to 'src/compiler')
-rw-r--r--src/compiler/cpp_generator.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/cpp_generator.cc b/src/compiler/cpp_generator.cc
index 252a92d971..c5d4c2573d 100644
--- a/src/compiler/cpp_generator.cc
+++ b/src/compiler/cpp_generator.cc
@@ -1154,7 +1154,7 @@ void PrintSourceService(Printer *printer, const Service *service,
(*vars)["Idx"] = as_string(i);
if (method->NoStreaming()) {
(*vars)["StreamingType"] = "NORMAL_RPC";
- // NOTE: There is no reason to consider FC_UNARY as a separate
+ // NOTE: There is no reason to consider streamed-unary as a separate
// category here since this part is setting up the client-side stub
// and this appears as a NORMAL_RPC from the client-side.
} else if (method->ClientOnlyStreaming()) {