mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-23 20:01:01 +08:00
Workaround fix for Visual Studio
Reviewed By: emilsjolander Differential Revision: D4191268 fbshipit-source-id: 53fdcc388292e76c2b97ad071f0d7c27d0613ecf
This commit is contained in:
committed by
Facebook Github Bot
parent
07f67fa225
commit
c5f6e864f9
@@ -2519,7 +2519,7 @@ void CSSLog(CSSLogLevel level, const char *format, ...) {
|
||||
va_end(args);
|
||||
}
|
||||
|
||||
static bool experimentalFeatures[CSSExperimentalFeatureCount];
|
||||
static bool experimentalFeatures[CSSExperimentalFeatureCount + 1];
|
||||
|
||||
void CSSLayoutSetExperimentalFeatureEnabled(CSSExperimentalFeature feature, bool enabled) {
|
||||
experimentalFeatures[feature] = enabled;
|
||||
|
||||
@@ -2519,7 +2519,7 @@ void CSSLog(CSSLogLevel level, const char *format, ...) {
|
||||
va_end(args);
|
||||
}
|
||||
|
||||
static bool experimentalFeatures[CSSExperimentalFeatureCount];
|
||||
static bool experimentalFeatures[CSSExperimentalFeatureCount + 1];
|
||||
|
||||
void CSSLayoutSetExperimentalFeatureEnabled(CSSExperimentalFeature feature, bool enabled) {
|
||||
experimentalFeatures[feature] = enabled;
|
||||
|
||||
Reference in New Issue
Block a user