Skip to content

Commit 4279a97

Browse files
committed
C++: Remove unnecessary cast.
1 parent a27ac9d commit 4279a97

File tree

1 file changed

+1
-1
lines changed
  • cpp/ql/test/library-tests/types/sizeof

1 file changed

+1
-1
lines changed

cpp/ql/test/library-tests/types/sizeof/sizeof.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import cpp
33
from SizeofOperator sto, string elemDesc, Element e
44
where
55
elemDesc = "SizeofOperator.getTypeOperand()" and
6-
e = sto.(SizeofOperator).getTypeOperand()
6+
e = sto.getTypeOperand()
77
or
88
elemDesc = "SizeofExprOperator.getExprOperand()" and
99
e = sto.(SizeofExprOperator).getExprOperand()

0 commit comments

Comments
 (0)