mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-05-03 01:04:23 +08:00
typo UIntPtr
(grafted from b6f04a2dd4d68fe1858524709813a5df5b9a085b )
This commit is contained in:
parent
aeba0d8655
commit
8c24723a09
@ -523,7 +523,7 @@ template<typename T> struct smart_memmove_helper<T,true> {
|
|||||||
template<typename T> struct smart_memmove_helper<T,false> {
|
template<typename T> struct smart_memmove_helper<T,false> {
|
||||||
static inline void run(const T* start, const T* end, T* target)
|
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);
|
std::copy(start, end, target);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user