mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-18 04:53:06 +01:00
Cleanup.
This commit is contained in:
@@ -157,7 +157,11 @@ struct Input
|
||||
|
||||
void removeBindings(const char* _name)
|
||||
{
|
||||
m_inputBindingsMap.erase(m_inputBindingsMap.find(_name));
|
||||
InputBindingMap::iterator it = m_inputBindingsMap.find(_name);
|
||||
if (it != m_inputBindingsMap.end() )
|
||||
{
|
||||
m_inputBindingsMap.erase(it);
|
||||
}
|
||||
}
|
||||
|
||||
void process(const InputBinding* _bindings)
|
||||
|
||||
Reference in New Issue
Block a user