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>
pull/3062/head
Mario J. Rugiero 8 years ago
parent 483396068d
commit cd0efc0024
  1. 3
      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);

Loading…
Cancel
Save