Преглед изворни кода

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 пре 9 година
родитељ
комит
9b82fce7f1
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);