aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Mario J. Rugiero <mrugiero@gmail.com>2017-05-05 13:52:58 -0300
committerGravatar Mario J. Rugiero <mrugiero@gmail.com>2017-05-05 14:02:49 -0300
commitcd0efc0024482be745e1671461518bac07335ca1 (patch)
tree1b359a4140324b4a695570c7749c8bf5620c7c74
parent483396068d7788efca4d51584d160dc4da28c99d (diff)
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);