Commit 6439823
Fix ThreadedRef::create(PyObject*) returning Ref instead of ThreadedRef
Summary:
The template overload for non-PyObject types incorrectly returned
Ref(...) instead of ThreadedRef(...). Since ThreadedRef has no
implicit conversion from Ref and its copy constructor is deleted,
this would fail to compile on first instantiation.
Reviewed By: jbower-fb
Differential Revision: D94927229
fbshipit-source-id: 06792d9811834c4e827db96f1c6d7c6f5930c26d1 parent ea42ddf commit 6439823
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
282 | 282 | | |
283 | 283 | | |
284 | 284 | | |
285 | | - | |
| 285 | + | |
286 | 286 | | |
287 | 287 | | |
288 | 288 | | |
| |||
0 commit comments