Fix compilation

This commit is contained in:
Jérôme Leclercq 2017-07-27 14:39:34 +02:00
parent 326fb930af
commit 2b36516758
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ namespace Ndk
static_assert(std::is_base_of<BaseComponent, T>::value, "ComponentType must inherit BaseComponent");
ComponentBinding binding;
binding.adder = &Detail::AddComponentIf<std::is_default_constructible<T>::value>::AddComponent<T>;
binding.adder = &Detail::AddComponentIf<std::is_default_constructible<T>::value>::template AddComponent<T>;
binding.getter = &PushComponentOfType<T>;
binding.index = T::componentIndex;
binding.name = name;