simd_impl.h,SIMD_TUPLE: make name param type explicit

fixes an error under Xcode 8:
array initializer must be an initializer list or string literal
the type deduced from #name was e.g., char[11]

Change-Id: I6fcb29e3229db7650eee106ef6e3986515dc0a07
This commit is contained in:
James Zern 2017-01-31 18:46:35 -08:00
Родитель 82d580c6ec
Коммит af18794f26
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -195,7 +195,7 @@ MY_TEST_P(ARCH_POSTFIX(V128_V128_Part3), TestIntrinsics) {
INSTANTIATE_TEST_CASE_P(name, type, ::testing::Values(__VA_ARGS__))
#define SIMD_TUPLE(name, mask, maskwidth) \
std::tr1::make_tuple(mask, maskwidth, #name)
std::tr1::make_tuple(mask, maskwidth, static_cast<const char *>(#name))
INSTANTIATE(ARCH, ARCH_POSTFIX(U32_V64V64),
(SIMD_TUPLE(v64_sad_u8, 0U, 0U), SIMD_TUPLE(v64_ssd_u8, 0U, 0U)));