Sdk/World: Fix compilation error when submitting arguments on system creation

Former-commit-id: a5ace06c0f4c0d7378fb81694db8db1d9f57b33d [formerly 2a232722761dfb72bbd9f3dc9ba8353d65311e7d]
Former-commit-id: f6a65203b37acb49276e22cad0bab4ff7075eb3a
This commit is contained in:
Lynix 2016-06-01 14:11:58 +02:00
parent 14541deb76
commit 94ed1cca32
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");
// 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)));
}