aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMario J. Rugiero <mrugiero@gmail.com>2017-05-05 13:52:58 -0300
committerFeng Xiao <xfxyjwf@gmail.com>2017-05-08 11:32:23 -0700
commit9b82fce7f1a5c7ce067866f06136e45fe9518cb2 (patch)
tree08f13fb96d5276c8dcdc9e143c7a5d082878e238
parent3c369dc07cd0b5fa5b874e42af6191f518ee4bae (diff)
downloadprotobuf-9b82fce7f1a5c7ce067866f06136e45fe9518cb2.tar.gz
protobuf-9b82fce7f1a5c7ce067866f06136e45fe9518cb2.tar.bz2
protobuf-9b82fce7f1a5c7ce067866f06136e45fe9518cb2.zip
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>
-rw-r--r--src/google/protobuf/metadata_lite.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/google/protobuf/metadata_lite.h b/src/google/protobuf/metadata_lite.h
index 840c02e8..64fde0c6 100644
--- a/src/google/protobuf/metadata_lite.h
+++ b/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);