Commit 88245d7
committed
base: add oncore_auto helper
An oncore that debug-asserts same-shard in its destructor. Embed as a
member to catch cross-shard destruction in debug builds.1 parent 16afcb0 commit 88245d7
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
0 commit comments