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/3073/head
Mario J. Rugiero 8 years ago committed by Feng Xiao
parent 3c369dc07c
commit 9b82fce7f1
  1. 3
      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);

Loading…
Cancel
Save