Sdk/Binding: Add component access by name
Former-commit-id: 8b5cffb55c526124cddffc9f13a05bbecc638bb9
This commit is contained in:
@@ -21,6 +21,7 @@ namespace Ndk
|
||||
m_componentBinding.resize(T::componentIndex + 1);
|
||||
|
||||
m_componentBinding[T::componentIndex] = std::move(binding);
|
||||
m_componentBindingByName[name] = T::componentIndex;
|
||||
}
|
||||
|
||||
template<typename T>
|
||||
|
||||
Reference in New Issue
Block a user