We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e41e7b commit 39a564aCopy full SHA for 39a564a
1 file changed
include/rtlog/rtlog.h
@@ -238,7 +238,7 @@ class Logger {
238
* @return int The number of log messages that were processed and printed.
239
*/
240
template <typename PrintLogFn>
241
- int PrintAndClearLogQueue(PrintLogFn &printLogFn) {
+ int PrintAndClearLogQueue(PrintLogFn &&printLogFn) {
242
int numProcessed = 0;
243
244
InternalLogData value;
0 commit comments