Fix a typo in PreprocIfNotElse

pull/14490/head
Muxi Yan 7 years ago
parent eadb7012d6
commit a7ad717d0a
  1. 2
      src/compiler/objective_c_generator_helpers.h

@ -77,7 +77,7 @@ inline ::grpc::string PreprocIfElse(const ::grpc::string& symbol,
inline ::grpc::string PreprocIfNotElse(const ::grpc::string& symbol,
const ::grpc::string& if_true,
const ::grpc::string& if_false) {
return ::grpc::string("#if " + PreprocConditional(symbol, false) + "\n" +
return ::grpc::string("#if " + PreprocConditional(symbol, true) + "\n" +
if_true + "#else\n" + if_false + "#endif\n");
}

Loading…
Cancel
Save