Fixed variadic arguments not being moved

Former-commit-id: 1130a384e982a792d04dc9490a12797cb73bc349
This commit is contained in:
Lynix
2015-02-28 23:59:26 +01:00
parent adb268fec8
commit 655be2864f
8 changed files with 15 additions and 11 deletions

View File

@@ -32,7 +32,7 @@ struct NzFunctorWithoutArgs : NzFunctor
template<typename F, typename... Args>
struct NzFunctorWithArgs : NzFunctor
{
NzFunctorWithArgs(F func, Args&... args);
NzFunctorWithArgs(F func, Args&&... args);
void Run();