Use contains now that it is availble. Test: Unit tests pass. Change-Id: I6189276c44074fc19743b31321c7e83490eef018
diff --git a/gtest_isolated/IsolateMain.cpp b/gtest_isolated/IsolateMain.cpp index 0d214f9..4cadc34 100644 --- a/gtest_isolated/IsolateMain.cpp +++ b/gtest_isolated/IsolateMain.cpp
@@ -120,7 +120,7 @@ "riscv64-lldb-server", "x86-lldb-server", "x86_64-lldb-server"}; - return debuggers.find(basename(buf)) == debuggers.end(); + return !debuggers.contains(basename(buf)); } // If we can't figure out what our parent was just assume we are fine to isolate. }