浏览代码

Fix compilation

<: is a digraph, so a space is necessary for compilation on certain compilers.
randomguy3 8 年之前
父节点
当前提交
e062f70c6d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/google/protobuf/generated_message_util.h

+ 1 - 1
src/google/protobuf/generated_message_util.h

@@ -100,7 +100,7 @@ namespace internal {
 // choose 16 rather than some other number just in case the compiler would
 // be confused by an unaligned pointer.
 #define GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(TYPE, FIELD)  \
-  static_cast<::google::protobuf::uint32>(                           \
+  static_cast< ::google::protobuf::uint32>(                           \
       reinterpret_cast<const char*>(                                 \
           &reinterpret_cast<const TYPE*>(16)->FIELD) -               \
       reinterpret_cast<const char*>(16))