typo UIntPtr

This commit is contained in:
Angelos Mantzaflaris 2016-12-01 21:25:58 +01:00
parent a9aa3bcf50
commit b6f04a2dd4

View File

@ -523,7 +523,7 @@ template<typename T> struct smart_memmove_helper<T,true> {
template<typename T> struct smart_memmove_helper<T,false> {
static inline void run(const T* start, const T* end, T* target)
{
if (IntPtr(target) < IntPtr(start))
if (UIntPtr(target) < UIntPtr(start))
{
std::copy(start, end, target);
}