Populate the classification result output param instead of a copy
PiperOrigin-RevId: 569293617
This commit is contained in:
parent
f78f24f576
commit
5ca1be6f21
|
@ -36,7 +36,7 @@ void CppConvertToClassificationResult(
|
|||
|
||||
for (uint32_t i = 0; i < out->classifications_count; ++i) {
|
||||
auto classification_in = in.classifications[i];
|
||||
auto classification_out = out->classifications[i];
|
||||
auto& classification_out = out->classifications[i];
|
||||
|
||||
classification_out.categories_count = classification_in.categories.size();
|
||||
classification_out.categories =
|
||||
|
|
Loading…
Reference in New Issue
Block a user