Эх сурвалжийг харах

Workaround gcc < 4.5.0 bug

See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=189

Signed-off-by: Mario J. Rugiero <mrugiero@gmail.com>
Mario J. Rugiero 8 жил өмнө
parent
commit
9b82fce7f1

+ 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);