SIGN IN SIGN UP
facebook / react-native UNCLAIMED

A framework for building native applications using React

0 0 155 C++

Fix potential use after move in Differentiator (#36537)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/36537

##Changelog:
[Internal] -

This popped up when I was landing D44172494.

Order of arguments evaluation to a function call in C++ is unspecified, therefore there was  a potential danger of use after move in two places in `Differentiator.cpp`

This diff fixes it.

Reviewed By: javache

Differential Revision: D44215210

fbshipit-source-id: 828ca379e2ba5a40506f1ff3136150af63ea1ff7
R
Ruslan Shestopalyuk committed
9f948fc742e3b2a5d471a80dd3e49245625a467a
Parent: 59243aa
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com> on 3/20/2023, 4:58:09 PM