fix two warnings(unused typedef, unused variable) and a typo

(grafted from a9aa3bcf50
)
This commit is contained in:
Angelos Mantzaflaris
2016-12-01 21:23:43 +01:00
parent 27873008d4
commit aeba0d8655
3 changed files with 5 additions and 2 deletions

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 (uintptr_t(target) < uintptr_t(start))
if (IntPtr(target) < IntPtr(start))
{
std::copy(start, end, target);
}