Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a89fab7

Browse files
typo fix
Co-authored-by: Copilot <[email protected]>
1 parent e8760e3 commit a89fab7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cpp/misra/src/rules/RULE-28-6-1/StdMoveWithNonConstLvalue.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ predicate isConstLvalue(Expr arg) {
2626
}
2727

2828
Type typeOfArgument(Expr e) {
29-
// An xvalue may be a constructor, which has no return type. However, these xvalues as act values
29+
// An xvalue may be a constructor, which has no return type. However, these xvalues act as values
3030
// of the constructed type.
3131
if e instanceof ConstructorCall
3232
then result = e.(ConstructorCall).getTargetType()

0 commit comments

Comments
 (0)