File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -501,6 +501,10 @@ class [[sus_trivial_abi]] FnOnce<R(CallArgs...)> {
501
501
return *this ;
502
502
}
503
503
504
+ // Not copyable.
505
+ FnOnce (const FnOnce&) noexcept = delete ;
506
+ FnOnce& operator =(const FnOnce&) noexcept = delete ;
507
+
504
508
// / A split FnOnce object, which can be used to construct other FnOnce
505
509
// / objects, but enforces that only one of them is called.
506
510
// /
@@ -525,10 +529,6 @@ class [[sus_trivial_abi]] FnOnce<R(CallArgs...)> {
525
529
FnOnce& fn_;
526
530
};
527
531
528
- // Not copyable.
529
- FnOnce (const FnOnce&) noexcept = delete ;
530
- FnOnce& operator =(const FnOnce&) noexcept = delete ;
531
-
532
532
// / A `FnOnce` can be split into any number of `FnOnce` objects, while
533
533
// / enforcing that the underlying function is only called a single time.
534
534
// /
You can’t perform that action at this time.
0 commit comments