From d61f78e2631df4e117a5802496d14060180ff5b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=91=D1=80=D0=B0=D0=BD=D0=B8=D0=BC=D0=B8=D1=80=20=D0=9A?= =?UTF-8?q?=D0=B0=D1=80=D0=B0=D1=9F=D0=B8=D1=9B?= Date: Mon, 5 Apr 2021 12:27:48 -0700 Subject: [PATCH] Cleanup. --- src/renderer.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/renderer.h b/src/renderer.h index 9a13cc406..d31a6b2aa 100644 --- a/src/renderer.h +++ b/src/renderer.h @@ -7,7 +7,6 @@ #define BGFX_RENDERER_H_HEADER_GUARD #include "bgfx_p.h" -#include namespace bgfx { @@ -313,7 +312,7 @@ namespace bgfx data.m_parent = _parent; m_hashMap.insert(stl::make_pair(_key, handle) ); - return std::addressof(m_data[handle].m_value); + return bx::addressOf(m_data[handle].m_value); } Ty* find(uint64_t _key) @@ -323,7 +322,7 @@ namespace bgfx { uint16_t handle = it->second; m_alloc.touch(handle); - return std::addressof(m_data[handle].m_value); + return bx::addressOf(m_data[handle].m_value); } return NULL;