fix: remove invalid std::forward

Related-To: NEO-9038
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2023-10-03 14:27:27 +00:00
committed by Compute-Runtime-Automation
parent 1f1af5bb36
commit 110164a52a
3 changed files with 9 additions and 9 deletions

View File

@@ -42,9 +42,9 @@ void flushDebugStream(StreamT stream, Args &&...args) {
}
template <typename... Args>
void printDebugString(bool showDebugLogs, Args &&...args) {
void printDebugString(bool showDebugLogs, Args... args) {
if (showDebugLogs) {
IoFunctions::fprintf(std::forward<Args>(args)...);
IoFunctions::fprintf(args...);
flushDebugStream(args...);
}
}