From 859fa7229edf1292f038ce837bbb2205cc9f640c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Wed, 25 Mar 2015 23:25:52 -0700 Subject: [PATCH] Cleanup. --- include/bx/handlealloc.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/bx/handlealloc.h b/include/bx/handlealloc.h index 25e250e..41dbd4f 100644 --- a/include/bx/handlealloc.h +++ b/include/bx/handlealloc.h @@ -71,7 +71,9 @@ namespace bx uint16_t* sparse = &m_handles[MaxHandlesT]; uint16_t index = sparse[_handle]; - return (index < m_numHandles && m_handles[index] == _handle); + return index < m_numHandles + && m_handles[index] == _handle + ; } void free(uint16_t _handle)