Last active
November 4, 2022 12:55
-
-
Save adetaylor/38fee936ce961fcd7a8260cd195df005 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TEST(ValuesTest, DataRace) { | |
Value::List parent; | |
parent.Append(1); | |
parent.Append(2); | |
parent.Append(3); | |
for (auto it = parent.cbegin(); it != parent.cend(); it++) { | |
if (*it == 2) { | |
parent.reserve(100); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment