Fix build with "error C4458: declaration of 'Slot' hides class member"

#rb none
#rnx

[CL 16451220 by Patrick Boutot in ue5-main branch]
This commit is contained in:
Patrick Boutot
2021-05-25 12:35:31 -04:00
parent 23db0dd975
commit b2ba58545c

View File

@@ -621,7 +621,7 @@ public:
virtual ~FScopedWidgetSlotArguments()
{
if (const SlotType* Slot = this->GetSlot()) // Is nullptr when the FScopedWidgetSlotArguments was moved-constructed.
if (const SlotType* SlotPtr = this->GetSlot()) // Is nullptr when the FScopedWidgetSlotArguments was moved-constructed.
{
if (Index == INDEX_NONE)
{
@@ -633,7 +633,7 @@ public:
}
if (Added)
{
Added(Slot, Index);
Added(SlotPtr, Index);
}
}
}