Explorar el Código

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 hace 8 años
padre
commit
cd0efc0024
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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);