Skip to content

Commit 926564c

Browse files
author
Nikita Kraiouchkine
authored
Update cpp/common/test/rules/donotallowamutextogooutofscopewhilelocked/test.cpp
1 parent 6164b13 commit 926564c

File tree

1 file changed

+1
-1
lines changed
  • cpp/common/test/rules/donotallowamutextogooutofscopewhilelocked

1 file changed

+1
-1
lines changed

cpp/common/test/rules/donotallowamutextogooutofscopewhilelocked/test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ void join_threads(std::thread *threads) {
131131

132132
void f11() {
133133
std::thread threads[5];
134-
std::mutex m1; // NON_COMPLIANT (FALSE POSITIVE)
134+
std::mutex m1; // COMPLIANT[FALSE_POSITIVE]
135135

136136
for (int i = 0; i < 5; ++i) {
137137
threads[i] = std::thread(t1, i, &m1);

0 commit comments

Comments
 (0)