diff options
author | Ludger Sprenker <ludger@sprenker.net> | 2018-01-30 18:14:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-30 18:14:49 +0100 |
commit | 14e8852fe483de57d155e7ba129d4c22f4e40279 (patch) | |
tree | 896719db26e13eb80c865ea70c44280abbe932d9 /src | |
parent | 9ab859f5a5bfe414b887af3a692073e5351cdcc0 (diff) | |
download | protobuf-14e8852fe483de57d155e7ba129d4c22f4e40279.tar.gz protobuf-14e8852fe483de57d155e7ba129d4c22f4e40279.tar.bz2 protobuf-14e8852fe483de57d155e7ba129d4c22f4e40279.zip |
Fix -fpermissive: '<::' cannot begin a template-argument list
'<:' is an alternate spelling for '['.
Diffstat (limited to 'src')
-rwxr-xr-x | src/google/protobuf/arenastring.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/google/protobuf/arenastring.h b/src/google/protobuf/arenastring.h index 751c0f7a..2b108616 100755 --- a/src/google/protobuf/arenastring.h +++ b/src/google/protobuf/arenastring.h @@ -323,7 +323,7 @@ struct LIBPROTOBUF_EXPORT ArenaStringPtr { const ::std::string* initial_value) { GOOGLE_DCHECK(initial_value != NULL); // uses "new ::std::string" when arena is nullptr - ptr_ = Arena::Create<::std::string>(arena, *initial_value); + ptr_ = Arena::Create< ::std::string >(arena, *initial_value); } GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE void CreateInstanceNoArena(const ::std::string* initial_value) { |