We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 708d126 commit 22e843aCopy full SHA for 22e843a
cpp/ql/src/Security/CWE/CWE-416/IteratorToExpiredContainer.qhelp
@@ -31,7 +31,7 @@ This is because the temporary container is not bound to a rvalue reference.
31
<sample src="IteratorToExpiredContainerExtendedLifetime.cpp" />
32
33
<p>
34
-To fix <code>lifetime_of_temp_not_extended</code> consider rewriting the code so that the temporary's lifetime is extended.
+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.
36
</p>
37
<sample src="IteratorToExpiredContainerExtendedLifetime-fixed.cpp" />
0 commit comments