tests: Remove accidental C++20 dependency (see #3611)

This commit is contained in:
Marshall Greenblatt 2023-11-28 12:05:52 -05:00
parent 5d1e039e05
commit 848712f89e

View File

@ -320,7 +320,8 @@ void TestHandler::OnCreated(int browser_id,
bool views_hosted) {
CHECK(use_views_ || !views_hosted);
const bool has_value = browser_status_map_.contains(browser_id);
const bool has_value =
browser_status_map_.find(browser_id) != browser_status_map_.end();
auto& browser_status = browser_status_map_[browser_id];
if (has_value) {