SWDEV-268531 - Fixing shadow variable warning in vector_types

Change-Id: Ic57e22853529a953582c9194d09133a5aab989aa


[ROCm/clr commit: 3f6bf4c260]
Tento commit je obsažen v:
Jatin Chaudhary authored and Jatin Chaudhary committed 2021-02-16 06:51:37 -05:00
1 rodič 60f4dcc336
revize 3c08aece90
1 file changed
+2 -2
+2 -2
Zobrazit soubor
@@ -642,8 +642,8 @@ THE SOFTWARE.
__host__ __device__
explicit
constexpr
HIP_vector_type(U x) noexcept
: HIP_vector_base<T, rank>{static_cast<T>(x)}
HIP_vector_type(U x_) noexcept
: HIP_vector_base<T, rank>{static_cast<T>(x_)}
{}
template< // TODO: constrain based on type as well.
typename... Us,