Removing Utils::Swap and using std::swap instead (#932)
This commit is contained in:
committed by
Matt Cooley
parent
ca0b3d83e8
commit
52de42e7fb
@@ -264,9 +264,9 @@ void UnitConverterViewModel::OnSwitchActive(Platform::Object ^ unused)
|
||||
}
|
||||
|
||||
m_valueFromUnlocalized.swap(m_valueToUnlocalized);
|
||||
Utils::Swap(&m_localizedValueFromFormat, &m_localizedValueToFormat);
|
||||
swap(m_localizedValueFromFormat, m_localizedValueToFormat);
|
||||
|
||||
Utils::Swap(&m_Unit1AutomationName, &m_Unit2AutomationName);
|
||||
swap(m_Unit1AutomationName, m_Unit2AutomationName);
|
||||
RaisePropertyChanged(Unit1AutomationNamePropertyName);
|
||||
RaisePropertyChanged(Unit2AutomationNamePropertyName);
|
||||
|
||||
|
Reference in New Issue
Block a user