From 7ad3cf4f8901880c98abb78243e66bea78ed1b13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Wed, 24 Oct 2018 19:11:31 -0700 Subject: [PATCH] Fixed build. --- tests/nlalloc_test.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/nlalloc_test.cpp b/tests/nlalloc_test.cpp index 88e5bb9..91b0354 100644 --- a/tests/nlalloc_test.cpp +++ b/tests/nlalloc_test.cpp @@ -141,10 +141,10 @@ namespace bx bx::quickSort( m_free.begin() , uint32_t(m_free.end() - m_free.begin() ) - , sizeof(T) + , sizeof(Blk) , [](const void* _a, const void* _b) -> int32_t { - const T& lhs = *(const T*)(_a); - const T& rhs = *(const T*)(_b); + const Blk& lhs = *(const Blk*)(_a); + const Blk& rhs = *(const Blk*)(_b); return lhs < rhs ? -1 : 1; });