aboutsummaryrefslogtreecommitdiff
path: root/src/google/protobuf/arenastring.h
diff options
context:
space:
mode:
authorLudger Sprenker <ludger@sprenker.net>2018-01-30 18:14:49 +0100
committerGitHub <noreply@github.com>2018-01-30 18:14:49 +0100
commit14e8852fe483de57d155e7ba129d4c22f4e40279 (patch)
tree896719db26e13eb80c865ea70c44280abbe932d9 /src/google/protobuf/arenastring.h
parent9ab859f5a5bfe414b887af3a692073e5351cdcc0 (diff)
downloadprotobuf-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/google/protobuf/arenastring.h')
-rwxr-xr-xsrc/google/protobuf/arenastring.h2
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) {