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:
Lynix 2016-06-01 14:11:58 +02:00
parent 26ccf59ddd
commit 5cac6cbe3d
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ namespace Ndk
static_assert(std::is_base_of<BaseSystem, SystemType>::value, "SystemType is not a component"); static_assert(std::is_base_of<BaseSystem, SystemType>::value, "SystemType is not a component");
// Allocation et affectation du 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))); return static_cast<SystemType&>(AddSystem(std::move(ptr)));
} }