Skip to content

Commit 922b778

Browse files
ericsalocopybara-github
authored andcommitted
switch PHP and Ruby over to the new upb_Map_Delete()
We would like for upb_Map_Delete() to optionally return the deleted value. Unfortunately this will require several steps since we are crossing repos. Step #4: update PHP/Ruby and advance the upb version used by protobuf PiperOrigin-RevId: 498406089
1 parent 7614927 commit 922b778

File tree

7 files changed

+4378
-2583
lines changed

7 files changed

+4378
-2583
lines changed

php/ext/google/protobuf/map.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ PHP_METHOD(MapField, offsetUnset) {
409409
return;
410410
}
411411

412-
upb_Map_Delete2(intern->map, upb_key, NULL);
412+
upb_Map_Delete(intern->map, upb_key, NULL);
413413
}
414414

415415
/**

0 commit comments

Comments
 (0)