diff options
author | Mario J. Rugiero <mrugiero@gmail.com> | 2017-05-05 13:52:58 -0300 |
---|---|---|
committer | Feng Xiao <xfxyjwf@gmail.com> | 2017-05-08 11:32:23 -0700 |
commit | 9b82fce7f1a5c7ce067866f06136e45fe9518cb2 (patch) | |
tree | 08f13fb96d5276c8dcdc9e143c7a5d082878e238 /src | |
parent | 3c369dc07cd0b5fa5b874e42af6191f518ee4bae (diff) | |
download | protobuf-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>
Diffstat (limited to 'src')
-rw-r--r-- | src/google/protobuf/metadata_lite.h | 3 |
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); |