Skip to content

Commit be35f35

Browse files
jatinchowdhury18serge-sans-paille
authored andcommitted
Fix ambiguous symbol error with MSVC
1 parent 696d711 commit be35f35

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

include/xsimd/types/xsimd_traits.hpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ namespace xsimd
6161

6262
static_assert(A::supported(),
6363
"usage of batch type with unsupported architecture");
64-
static_assert(!A::supported() || has_simd_register<T, A>::value,
64+
static_assert(!A::supported() || xsimd::has_simd_register<T, A>::value,
6565
"usage of batch type with unsupported type");
6666
};
6767

@@ -86,20 +86,20 @@ namespace xsimd
8686
}
8787

8888
template <class T>
89-
struct simd_traits : detail::simd_traits_impl<T, has_simd_register<T>::value>
89+
struct simd_traits : detail::simd_traits_impl<T, xsimd::has_simd_register<T>::value>
9090
{
9191
};
9292

9393
template <class T>
9494
struct simd_traits<std::complex<T>>
95-
: detail::simd_traits_impl<std::complex<T>, has_simd_register<T>::value>
95+
: detail::simd_traits_impl<std::complex<T>, xsimd::has_simd_register<T>::value>
9696
{
9797
};
9898

9999
#ifdef XSIMD_ENABLE_XTL_COMPLEX
100100
template <class T, bool i3ec>
101101
struct simd_traits<xtl::xcomplex<T, T, i3ec>>
102-
: detail::simd_traits_impl<std::complex<T>, has_simd_register<T>::value>
102+
: detail::simd_traits_impl<std::complex<T>, xsimd::has_simd_register<T>::value>
103103
{
104104
};
105105
#endif

0 commit comments

Comments
 (0)