mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Cleanup.
This commit is contained in:
@@ -7,7 +7,6 @@
|
||||
#define BGFX_RENDERER_H_HEADER_GUARD
|
||||
|
||||
#include "bgfx_p.h"
|
||||
#include <memory>
|
||||
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user