Browse Source

Merge pull request #3062 from Oppen/master

Workaround gcc < 4.5.0 bug
Feng Xiao 8 years ago
parent
commit
455b61c6b0
1 changed files with 2 additions and 1 deletions
  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);