Merge pull request #3073 from xfxyjwf/3.3.x

Cherry-pick a bug fix: workaround gcc < 4.5.0 bug
This commit is contained in:
Feng Xiao 2017-05-08 13:38:48 -07:00 committed by GitHub
commit c2154e124d

View File

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