Skip to content

Commit 2d46af6

Browse files
generatedunixname1431085361989520meta-codesync[bot]
authored andcommitted
Your diff, D94661252, broke some tests
Reviewed By: yoney Differential Revision: D94767845 fbshipit-source-id: cc50bdba7278ed0c36a4c790e2b30dadfadc89b2
1 parent cb93ec8 commit 2d46af6

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

cinderx/Common/util.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -488,8 +488,7 @@ class FrozenList {
488488
inline void setVectorcall(
489489
BorrowedRef<PyFunctionObject> func,
490490
vectorcallfunc entry) {
491-
std::atomic_ref<vectorcallfunc>(func->vectorcall)
492-
.store(entry, std::memory_order_relaxed);
491+
__atomic_store_n(&func->vectorcall, entry, __ATOMIC_RELAXED);
493492
}
494493

495494
using FuncVisitor = void (*)(BorrowedRef<PyFunctionObject>);

0 commit comments

Comments
 (0)