From aeba0d865543634c9b3fe176cfe055268b305da5 Mon Sep 17 00:00:00 2001 From: Angelos Mantzaflaris Date: Thu, 1 Dec 2016 21:23:43 +0100 Subject: fix two warnings(unused typedef, unused variable) and a typo (grafted from a9aa3bcf50d55b63c8adb493a06c903ec34251c6 ) --- Eigen/src/Core/util/Memory.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Eigen/src/Core/util/Memory.h') 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 struct smart_memmove_helper { template struct smart_memmove_helper { 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); } -- cgit v1.2.3