Sdk/World: Fix compilation error when submitting arguments on system creation
Former-commit-id: c46b7be1d998d5bdf87c25b1f4acc97de771ac9a [formerly e39dce0eaeb275d5ca62dfb8980869a7cc68c857] Former-commit-id: c799b611b8faefe26cfe6c06a77072c51f3c9c28
This commit is contained in:
parent
e846934960
commit
b934eef2a3
|
|
@ -44,7 +44,7 @@ namespace Ndk
|
|||
static_assert(std::is_base_of<BaseSystem, SystemType>::value, "SystemType is not a component");
|
||||
|
||||
// Allocation et affectation du component
|
||||
std::unique_ptr<SystemType> ptr(new SystemType(std::forward(args)...));
|
||||
std::unique_ptr<SystemType> ptr(new SystemType(std::forward<Args>(args)...));
|
||||
return static_cast<SystemType&>(AddSystem(std::move(ptr)));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue