@@ -1137,15 +1137,15 @@ namespace cppwinrt
11371137 {%
11381138 if constexpr (!std::is_same_v<D, %>)
11391139 {
1140- auto const [castedResult, code ] = impl::try_as_with_reason<%, D const*>(static_cast<D const*>(this));
1141- check_hresult(code );
1142- auto const abiType = *(abi_t<%>**)&castedResult ;
1143- abiType ->%(%);
1140+ auto const [_winrt_casted_result, _winrt_cast_result_code ] = impl::try_as_with_reason<%, D const*>(static_cast<D const*>(this));
1141+ check_hresult(_winrt_cast_result_code );
1142+ auto const _winrt_abi_type = *(abi_t<%>**)&_winrt_casted_result ;
1143+ _winrt_abi_type ->%(%);
11441144 }
11451145 else
11461146 {
1147- auto const abiType = *(abi_t<%>**)this;
1148- abiType ->%(%);
1147+ auto const _winrt_abi_type = *(abi_t<%>**)this;
1148+ _winrt_abi_type ->%(%);
11491149 }%
11501150 }
11511151)" ;
@@ -1156,15 +1156,15 @@ namespace cppwinrt
11561156 {%
11571157 if constexpr (!std::is_same_v<D, %>)
11581158 {
1159- auto const [castedResult, code ] = impl::try_as_with_reason<%, D const*>(static_cast<D const*>(this));
1160- check_hresult(code );
1161- auto const abiType = *(abi_t<%>**)&castedResult ;
1162- WINRT_VERIFY_(0, abiType ->%(%));
1159+ auto const [_winrt_casted_result, _winrt_cast_result_code ] = impl::try_as_with_reason<%, D const*>(static_cast<D const*>(this));
1160+ check_hresult(_winrt_cast_result_code );
1161+ auto const _winrt_abi_type = *(abi_t<%>**)&_winrt_casted_result ;
1162+ WINRT_VERIFY_(0, _winrt_abi_type ->%(%));
11631163 }
11641164 else
11651165 {
1166- auto const abiType = *(abi_t<%>**)this;
1167- WINRT_VERIFY_(0, abiType ->%(%));
1166+ auto const _winrt_abi_type = *(abi_t<%>**)this;
1167+ WINRT_VERIFY_(0, _winrt_abi_type ->%(%));
11681168 }%
11691169 }
11701170)" ;
@@ -1176,15 +1176,15 @@ namespace cppwinrt
11761176 {%
11771177 if constexpr (!std::is_same_v<D, %>)
11781178 {
1179- auto const [castedResult, code ] = impl::try_as_with_reason<%, D const*>(static_cast<D const*>(this));
1180- check_hresult(code );
1181- auto const abiType = *(abi_t<%>**)&castedResult ;
1182- check_hresult(abiType ->%(%));
1179+ auto const [_winrt_casted_result, _winrt_cast_result_code ] = impl::try_as_with_reason<%, D const*>(static_cast<D const*>(this));
1180+ check_hresult(_winrt_cast_result_code );
1181+ auto const _winrt_abi_type = *(abi_t<%>**)&_winrt_casted_result ;
1182+ check_hresult(_winrt_abi_type ->%(%));
11831183 }
11841184 else
11851185 {
1186- auto const abiType = *(abi_t<%>**)this;
1187- check_hresult(abiType ->%(%));
1186+ auto const _winrt_abi_type = *(abi_t<%>**)this;
1187+ check_hresult(_winrt_abi_type ->%(%));
11881188 }%
11891189 }
11901190)" ;
0 commit comments