C++: Accept query test changes.

This commit is contained in:
Mathias Vorreiter Pedersen
2024-07-06 03:16:09 +01:00
parent 8ccdc2518f
commit 0e6b2f0f53
2 changed files with 1 additions and 2 deletions

View File

@@ -3,4 +3,3 @@
| test.cpp:702:27:702:27 | call to operator[] | This object is destroyed at the end of the full-expression. |
| test.cpp:727:23:727:23 | call to operator[] | This object is destroyed at the end of the full-expression. |
| test.cpp:735:23:735:23 | call to operator[] | This object is destroyed at the end of the full-expression. |
| test.cpp:826:25:826:43 | pointer to ~HasBeginAndEnd output argument | This object is destroyed at the end of the full-expression. |

View File

@@ -823,7 +823,7 @@ void test6()
{
while(getBool())
{
for (const int& x : getHasBeginAndEnd()) // GOOD [FALSE POSITIVE]
for (const int& x : getHasBeginAndEnd()) // GOOD
{
}
}