This commit is contained in:
Бранимир Караџић 2021-04-05 12:27:48 -07:00
parent db12a1d0e1
commit d61f78e263

View File

@ -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;