Fix array length calculation in ConvTest.cpp
Summary: The build with Clang 10 on iOS broke with the following error: ``` folly/test/ConvTest.cpp:321:45: error: expression does not compute the number of elements in this array; element type is 'const char *const', not 'const char *const [4]' [-Werror,-Wsizeof-array-div] FOR_EACH_RANGE (i, 0, sizeof(uStrings2) / sizeof(uStrings2)) { ~~~~~~~~~ ^ ``` Looking at nearby uses of `FOR_EACH_RANGE`, it looks like the new compiler has caught a typo, which this diff fixes. Reviewed By: yfeldblum Differential Revision: D22470932 fbshipit-source-id: 3090ed9824af488fc429becf2c1084c7725daf5a
Showing
Please register or sign in to comment