Skip to content

Commit

Permalink
Fix deprecated use of 0/NULL in cinderx/Jit/hir/hir.h + 1
Browse files Browse the repository at this point in the history
Summary: pulling in direct change in fbsource D56650309

Reviewed By: jbower-fb

Differential Revision:
D56782573

Privacy Context Container: L1125187

fbshipit-source-id: 13bf7ab2b6f9837c5b7d265149e426a7c66cb6ce
  • Loading branch information
Johnston Jiaa authored and facebook-github-bot committed May 1, 2024
1 parent db19f16 commit 31844b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cinderx/Jit/hir/hir.h
Original file line number Diff line number Diff line change
Expand Up @@ -2090,7 +2090,7 @@ const std::array<binaryfunc, kNumBinaryOpKinds> kLongBinaryOpSlotMethods = {

PyLong_Type.tp_as_number->nb_floor_divide,
PyLong_Type.tp_as_number->nb_lshift,
0, // unsupported: matrix multiply
nullptr, // unsupported: matrix multiply
PyLong_Type.tp_as_number->nb_remainder,
PyLong_Type.tp_as_number->nb_multiply,
PyLong_Type.tp_as_number->nb_or,
Expand Down

0 comments on commit 31844b6

Please sign in to comment.