mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-01-12 22:50:10 +08:00
Summary: I am not sure why it compiled before, it clearly should not, IMO. The `const` types (and references!) are not allowed inside `std::vector` because they are not assignable. Some experiments that I did caused compilation errors here, so I am changing that to be actually correct. Reviewed By: JoshuaGross Differential Revision: D14249199 fbshipit-source-id: 07a22ef13f5de9dfc7ab307493419e6006994bc2