Skip to content

Commit 40b6e16

Browse files
Update cpp/ql/src/Security/CWE/CWE-416/IteratorToExpiredContainer.qhelp
Co-authored-by: mc <[email protected]>
1 parent 22e843a commit 40b6e16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/ql/src/Security/CWE/CWE-416/IteratorToExpiredContainer.qhelp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ This is because the temporary container is not bound to a rvalue reference.
3232

3333
<p>
3434
To fix <code>lifetime_of_temp_not_extended</code>, consider rewriting the code so that the lifetime of the temporary object is extended.
35-
In <code>fixed_lifetime_of_temp_not_extended</code> the lifetime of the temporary object has been extended by storing it in an rvalue reference.
35+
In <code>fixed_lifetime_of_temp_not_extended</code>, the lifetime of the temporary object has been extended by storing it in an rvalue reference.
3636
</p>
3737
<sample src="IteratorToExpiredContainerExtendedLifetime-fixed.cpp" />
3838

0 commit comments

Comments
 (0)