Selaa lähdekoodia

Merge pull request #3062 from Oppen/master

Workaround gcc < 4.5.0 bug
Feng Xiao 8 vuotta sitten
vanhempi
commit
455b61c6b0
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. 2 1
      src/google/protobuf/metadata_lite.h

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

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