Sdk/World: Fix compilation error when submitting arguments on system creation
Former-commit-id: ed94334556b84d66c8282c28588fb8f032f5fc02 [formerly f84ddbecb465c96127433b29d1e7cbdb54709324] Former-commit-id: d72da83595df8de5533aec84cdb14433d869744d
This commit is contained in:
parent
26ccf59ddd
commit
5cac6cbe3d
|
|
@ -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