Removing Utils::Swap and using std::swap instead (#932)
This commit is contained in:
committed by
Matt Cooley
parent
ca0b3d83e8
commit
52de42e7fb
@@ -349,14 +349,6 @@ namespace Utils
|
||||
defaultValue,
|
||||
ref new Windows::UI::Xaml::PropertyChangedCallback(callback)));
|
||||
}
|
||||
|
||||
template <typename T>
|
||||
void Swap(T *ref1, T *ref2)
|
||||
{
|
||||
T temp = *ref1;
|
||||
*ref1 = *ref2;
|
||||
*ref2 = temp;
|
||||
}
|
||||
}
|
||||
|
||||
// This goes into the header to define the property, in the public: section of the class
|
||||
|
Reference in New Issue
Block a user