Fix passing parameters using std::forward