SWDEV-268531 - Fixing shadow variable warning in vector_types

Change-Id: Ic57e22853529a953582c9194d09133a5aab989aa
This commit is contained in:
Jatin Chaudhary authored and Jatin Chaudhary committed 2021-02-16 06:51:37 -05:00
1 orang tua debceab2a8
melakukan 22164ebc3f
1 file changed
+2 -2
+2 -2
Melihat File
@@ -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,