Explorar o código

Avoid using the macro name again in macro definitions.

Feng Xiao %!s(int64=11) %!d(string=hai) anos
pai
achega
3b8dadf581
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      src/google/protobuf/wire_format_lite.h

+ 3 - 3
src/google/protobuf/wire_format_lite.h

@@ -239,9 +239,9 @@ class LIBPROTOBUF_EXPORT WireFormatLite {
   // that file to use these.
 
 // Avoid ugly line wrapping
-#define input  io::CodedInputStream*  input
-#define output io::CodedOutputStream* output
-#define field_number int field_number
+#define input  io::CodedInputStream*  input_arg
+#define output io::CodedOutputStream* output_arg
+#define field_number int field_number_arg
 #define INL GOOGLE_ATTRIBUTE_ALWAYS_INLINE
 
   // Read fields, not including tags.  The assumption is that you already