mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-07-14 00:51:52 +08:00
typo UIntPtr
This commit is contained in:
parent
a9aa3bcf50
commit
b6f04a2dd4
@ -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