Commit ba47708
Some no-op fixes (comments + static_assert)
Summary:
- Some of the `SafeAlias` comments were stale / wrong.
- Per ispeters's comment on D74771290, it would be a footgun to use `OnCancel<T>` with a type that can throw when copied, so let's explicitly prohibit that.
Reviewed By: ispeters
Differential Revision: D75415739
fbshipit-source-id: c799508c2aaa0f170bb696f3144faa4cf1d594021 parent f5acb81 commit ba47708
File tree
2 files changed
+14
-10
lines changed- third-party/folly/src/folly/coro
- safe
2 files changed
+14
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
98 | 101 | | |
99 | 102 | | |
100 | 103 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
151 | 149 | | |
152 | 150 | | |
153 | | - | |
154 | | - | |
155 | | - | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
156 | 157 | | |
157 | 158 | | |
158 | 159 | | |
| |||
0 commit comments