Skip to content

Commit

Permalink
Removed named reference to avoid dangling ref warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikolaj Malecki committed Jun 25, 2024
1 parent f4088e4 commit e48a6cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion srtcore/logging.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ written by
{ \
srt_logging::LogDispatcher::Proxy log(logdes); \
log.setloc(__FILE__, __LINE__, __FUNCTION__); \
const srt_logging::LogDispatcher::Proxy& log_prox SRT_ATR_UNUSED = args; \
{ (void)(const srt_logging::LogDispatcher::Proxy&)(args); } \
}

// LOGF uses printf-like style formatting.
Expand Down

0 comments on commit e48a6cb

Please sign in to comment.