mirror of
https://github.com/davidgiven/fluxengine.git
synced 2025-10-31 11:17:01 -07:00
real_*_oneof() is too new for GI's proto library.
This commit is contained in:
@@ -162,7 +162,7 @@ void setProtoFieldFromString(ProtoField& protoField, const std::string& value)
|
||||
setRange((RangeProto*)reflection->MutableMessage(message, field), value);
|
||||
break;
|
||||
}
|
||||
if (field->real_containing_oneof() && value.empty())
|
||||
if (field->containing_oneof() && value.empty())
|
||||
{
|
||||
reflection->MutableMessage(message, field);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user