aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/util/Memory.h
diff options
context:
space:
mode:
authorGravatar Angelos Mantzaflaris <Angelos.Mantzaflaris@oeaw.ac.at>2016-12-01 21:23:43 +0100
committerGravatar Angelos Mantzaflaris <Angelos.Mantzaflaris@oeaw.ac.at>2016-12-01 21:23:43 +0100
commitaeba0d865543634c9b3fe176cfe055268b305da5 (patch)
tree4ac8bc95abaca3c6baea068afdab8a88033adb22 /Eigen/src/Core/util/Memory.h
parent27873008d431a307bed9c200a12622a361af4d14 (diff)
fix two warnings(unused typedef, unused variable) and a typo
Diffstat (limited to 'Eigen/src/Core/util/Memory.h')
-rw-r--r--Eigen/src/Core/util/Memory.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/util/Memory.h b/Eigen/src/Core/util/Memory.h
index 0439655ca..741f35a0d 100644
--- a/Eigen/src/Core/util/Memory.h
+++ b/Eigen/src/Core/util/Memory.h
@@ -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 (uintptr_t(target) < uintptr_t(start))
+ if (IntPtr(target) < IntPtr(start))
{
std::copy(start, end, target);
}