Skip to content

Commit 78ec431

Browse files
committed
Attempt to fix acrolinx issues.
1 parent f49a099 commit 78ec431

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/code-quality/c26800.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ helpviewer_keywords: ["C26800"]
1111
1212
## Remarks
1313

14-
Warning C26800 is triggered when a variable is used after it has been moved from. A variable is considered moved from after it is passed to a function as rvalue reference. There are some exceptions for assignment, destruction, and some state resetting functions such as `std::vector::clear`. After using a state resetting function, we're free to use the variable. This check only reasons about the local variables.
14+
Warning C26800 is triggered when a variable is used after it has been moved from. A variable is considered moved from after it's passed to a function as rvalue reference. There are some exceptions for assignment, destruction, and some state resetting functions such as `std::vector::clear`. After using a state resetting function, we're free to use the variable. This check only reasons about the local variables.
1515

1616
The following methods are considered state resetting methods:
17-
- Functions with the following case-insensitive substring in their name: "clear", "clean", "reset", "free", "destroy", "release", "dealloc", "assign"
17+
- Functions with the following case-insensitive substring in their name: `clear`, `clean`, `reset`, `free`, `destroy`, `release`, `dealloc`, `assign`
1818
- Overloaded assignment operators, destructor
1919

2020
This check respects the `std::swap` operation:

0 commit comments

Comments
 (0)