瀏覽代碼

Merge pull request #3073 from xfxyjwf/3.3.x

Cherry-pick a bug fix: workaround gcc < 4.5.0 bug
Feng Xiao 8 年之前
父節點
當前提交
c2154e124d
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/google/protobuf/metadata_lite.h

+ 2 - 1
src/google/protobuf/metadata_lite.h

@@ -167,7 +167,8 @@ class InternalMetadataWithArenaLite
   InternalMetadataWithArenaLite() {}
 
   explicit InternalMetadataWithArenaLite(Arena* arena)
-      : InternalMetadataWithArenaBase(arena) {}
+      : InternalMetadataWithArenaBase<string,
+                                      InternalMetadataWithArenaLite>(arena) {}
 
   void DoSwap(string* other) {
     mutable_unknown_fields()->swap(*other);