Skip to content

Commit

Permalink
Fix build; use std::move() to forward rvalue parameter.
Browse files Browse the repository at this point in the history
  • Loading branch information
atsushieno committed Oct 4, 2024
1 parent f3bce82 commit 04a9f6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/rtlog/rtlog.h
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ class Logger
{
va_list args;
va_start(args, format);
auto retVal = Logv(inputData, format, args);
auto retVal = Logv(std::move(inputData), format, args);
va_end(args);
return retVal;
}
Expand Down

0 comments on commit 04a9f6f

Please sign in to comment.