mirror of https://github.com/qt/qtgrpc.git
Add the missing 'return' to QProtobufSerializerPrivate::serializeProperty
If we are confident that the property is message, we shouldn't attempt to look for other serializers. Pick-to: 6.7 Change-Id: I61c76d9dc2c43d5b8a91627d1e3a7aaebbb8d166 Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
This commit is contained in:
parent
1d05733e7e
commit
88ac04344f
|
|
@ -569,6 +569,7 @@ void QProtobufSerializerPrivate::serializeProperty(const QVariant &propertyValue
|
|||
store.append(QProtobufSerializerPrivate::serializeVarintCommon<uint32_t>(result.size()));
|
||||
store.append(result);
|
||||
result = store;
|
||||
return;
|
||||
}
|
||||
|
||||
auto basicHandler = findIntegratedTypeHandler(
|
||||
|
|
|
|||
Loading…
Reference in New Issue