aboutsummaryrefslogtreecommitdiff
path: root/protobuf-lite.pc.in
diff options
context:
space:
mode:
authorNobuaki Sukegawa <nsukeg@gmail.com>2014-11-29 22:03:31 +0900
committerNobuaki Sukegawa <nsukeg@gmail.com>2014-12-03 23:41:40 +0900
commit2413cb57efd31983b810cb256cdb48d9b8a062fb (patch)
treeb36be974d08cc02aeec3720a8c1e6f7176d175e3 /protobuf-lite.pc.in
parent4470dcba6c41a9fcb749d69b1414d7b75991bdc1 (diff)
downloadprotobuf-2413cb57efd31983b810cb256cdb48d9b8a062fb.tar.gz
protobuf-2413cb57efd31983b810cb256cdb48d9b8a062fb.tar.bz2
protobuf-2413cb57efd31983b810cb256cdb48d9b8a062fb.zip
Make C++ string oneof field compatible with C++11
string oneof field was generated into "const ArenaStringPtr" field inside "default_oneof_instance_" struct (of name "<class name>OneofInstance"). On the other hand, in C++11, const field of type with trivial default constructor causes enclosing type's implicit default constructor to be deleted. Since ArenaStringPtr has tirvial default constructor, this caused default constructor of "default_oneof_instance_" struct to be deleted, making the constructor call inside generated code invalid and fail to compile.
Diffstat (limited to 'protobuf-lite.pc.in')
0 files changed, 0 insertions, 0 deletions