diff --git a/packages/react-native/ReactCommon/jsinspector-modern/tests/GmockHelpers.h b/packages/react-native/ReactCommon/jsinspector-modern/tests/GmockHelpers.h index a6ceb7ad8a6..070989ab9f6 100644 --- a/packages/react-native/ReactCommon/jsinspector-modern/tests/GmockHelpers.h +++ b/packages/react-native/ReactCommon/jsinspector-modern/tests/GmockHelpers.h @@ -14,7 +14,7 @@ * a std::source_location parameter. */ #define GMOCK_ON_CALL_WITH_SOURCE_LOCATION_IMPL_(location, mock_expr, Setter, call) \ - ((mock_expr).gmock_##call)(::testing::internal::GetWithoutMatchers(), nullptr) \ + ((mock_expr).gmock_##call)(::testing::internal::WithoutMatchers::Get(), nullptr) \ .Setter((location).file_name(), (location).line(), #mock_expr, #call) /**