Fix folly/test/small_vector_test.cpp under gcc8 with -Wshadow
Summary: [Folly] Fix `folly/test/small_vector_test.cpp` under gcc8 with `-Wshadow`. ``` folly/test/small_vector_test.cpp: In member function 'virtual void small_vector_NoCopyCtor_Test::TestBody()': folly/test/small_vector_test.cpp:898:10: error: declaration of 'struct small_vector_NoCopyCtor_Test::TestBody()::Test' shadows a previous local [-Werror=shadow] In file included from folly/portability/GTest.h:33, from folly/test/small_vector_test.cpp:33: third-party-buck/platform007/build/googletest/include/gtest/gtest.h:371:52: note: shadowed declaration is here ``` Reviewed By: Orvid Differential Revision: D13603337 fbshipit-source-id: 84747335787df4c9288d93f19bd0629c53a68e4d
Showing
Please register or sign in to comment