Skip to content

Commit

Permalink
Merge pull request #757 from igchor/ctad-maybe-unsupported
Browse files Browse the repository at this point in the history
[ur] fix ctad-maybe-unsupported warning
  • Loading branch information
igchor authored Jul 31, 2023
2 parents 5b4c3d2 + be77877 commit 5513ee2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/common/logger/ur_sinks.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class Sink {

format(buffer, fmt, std::forward<Args &&>(args)...);

std::scoped_lock lock(output_mutex);
std::scoped_lock<std::mutex> lock(output_mutex);
*ostream << buffer.str();
if (level >= flush_level) {
ostream->flush();
Expand Down

0 comments on commit 5513ee2

Please sign in to comment.