File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
clang/unittests/DirectoryWatcher Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ struct VerifyingConsumer {
138138
139139 void consumeInitial (DirectoryWatcher::Event E) {
140140 std::unique_lock<std::mutex> L (Mtx);
141- auto It = std ::find (ExpectedInitial. begin (), ExpectedInitial. end () , E);
141+ auto It = llvm ::find (ExpectedInitial, E);
142142 if (It == ExpectedInitial.end ()) {
143143 UnexpectedInitial.push_back (E);
144144 } else {
@@ -152,11 +152,9 @@ struct VerifyingConsumer {
152152
153153 void consumeNonInitial (DirectoryWatcher::Event E) {
154154 std::unique_lock<std::mutex> L (Mtx);
155- auto It =
156- std::find (ExpectedNonInitial.begin (), ExpectedNonInitial.end (), E);
155+ auto It = llvm::find (ExpectedNonInitial, E);
157156 if (It == ExpectedNonInitial.end ()) {
158- auto OptIt =
159- std::find (OptionalNonInitial.begin (), OptionalNonInitial.end (), E);
157+ auto OptIt = llvm::find (OptionalNonInitial, E);
160158 if (OptIt != OptionalNonInitial.end ()) {
161159 OptionalNonInitial.erase (OptIt);
162160 } else {
You can’t perform that action at this time.
0 commit comments