Commit 2da0a2a
Fix F14Map warning at oss build
Summary:
See title.
Before fix, we see many of the following warning in NCCL OSS build:
```
warning: ‘std::enable_if_t<(! folly::Conjunction<std::is_nothrow_move_constructible<T>, std::is_nothrow_destructible<_Up> >::value)> folly::f14::detail::VectorContainerPolicy<Key, MappedTypeOrVoid, HasherOrVoid, KeyEqualOrVoid, AllocOrVoid, EligibleForPerturbedInsertionOrder>::complainUnlessNothrowMoveAndDestroy() [with T = std::deque<std::unique_ptr<PendingOp> >; Key = int; MappedTypeOrVoid = std::deque<std::unique_ptr<PendingOp> >; HasherOrVoid = void; KeyEqualOrVoid = void; AllocOrVoid = void; EligibleForPerturbedInsertionOrder = std::integral_constant<bool, true>; std::enable_if_t<(! folly::Conjunction<std::is_nothrow_move_constructible<T>, std::is_nothrow_destructible<_Up> >::value)> = void]’ is deprecated: mark {key_type,mapped_type} {move constructor,destructor} noexcept, or use F14Node* if they aren't"
```
Example: https://www.internalfb.com/sandcastle/workflow/2783224569726899686/artifact/actionlog.2783224569921182489.stdout.1?selectedLines=19953-19953-56-877
This patch fixes it
Reviewed By: elvinlife
Differential Revision: D87721250
fbshipit-source-id: b235af7d1ca737bc2e17cd92700f6329210d70001 parent 4d97555 commit 2da0a2a
File tree
3 files changed
+34
-17
lines changed- comms/ctran/backends
- ib
- socket
3 files changed
+34
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
655 | 655 | | |
656 | 656 | | |
657 | 657 | | |
658 | | - | |
| 658 | + | |
659 | 659 | | |
660 | | - | |
| 660 | + | |
661 | 661 | | |
662 | 662 | | |
663 | 663 | | |
| |||
686 | 686 | | |
687 | 687 | | |
688 | 688 | | |
689 | | - | |
| 689 | + | |
690 | 690 | | |
691 | 691 | | |
692 | 692 | | |
| |||
1116 | 1116 | | |
1117 | 1117 | | |
1118 | 1118 | | |
1119 | | - | |
1120 | | - | |
| 1119 | + | |
| 1120 | + | |
| 1121 | + | |
| 1122 | + | |
| 1123 | + | |
| 1124 | + | |
| 1125 | + | |
| 1126 | + | |
| 1127 | + | |
1121 | 1128 | | |
1122 | 1129 | | |
1123 | 1130 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
335 | 335 | | |
336 | 336 | | |
337 | 337 | | |
338 | | - | |
339 | | - | |
| 338 | + | |
| 339 | + | |
340 | 340 | | |
341 | | - | |
| 341 | + | |
342 | 342 | | |
343 | 343 | | |
344 | 344 | | |
| |||
367 | 367 | | |
368 | 368 | | |
369 | 369 | | |
370 | | - | |
| 370 | + | |
371 | 371 | | |
372 | 372 | | |
373 | 373 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
99 | 104 | | |
100 | 105 | | |
101 | 106 | | |
| |||
170 | 175 | | |
171 | 176 | | |
172 | 177 | | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
179 | 181 | | |
180 | 182 | | |
181 | 183 | | |
| |||
198 | 200 | | |
199 | 201 | | |
200 | 202 | | |
201 | | - | |
202 | | - | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
203 | 213 | | |
204 | 214 | | |
205 | 215 | | |
| |||
0 commit comments