Skip to content

Commit 92fe391

Browse files
typo fix
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent a82b0ff commit 92fe391

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)