mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Fix CQS signal modernize-use-using in xplat/js/react-native-github/packages [A] (#52655)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/52655 Reviewed By: dtolnay Differential Revision: D78460107
This commit is contained in:
committed by
Facebook GitHub Bot
parent
20baf2a992
commit
7f589d8165
@@ -67,7 +67,7 @@ template <typename T>
|
||||
facebook::react::LazyVector<T> RCTBridgingToVec(id value, T (^ctor)(id element))
|
||||
{
|
||||
NSArray *array = RCTBridgingToArray(value);
|
||||
typedef typename facebook::react::LazyVector<T>::size_type _size_t;
|
||||
using _size_t = typename facebook::react::LazyVector<T>::size_type;
|
||||
_size_t size = static_cast<_size_t>(array.count);
|
||||
return facebook::react::LazyVector<T>::fromUnsafeRawValue(array, size, ctor);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user