Skip to content

Commit 5513ee2

Browse files
authored
Merge pull request #757 from igchor/ctad-maybe-unsupported
[ur] fix ctad-maybe-unsupported warning
2 parents 5b4c3d2 + be77877 commit 5513ee2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/common/logger/ur_sinks.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class Sink {
2828

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

31-
std::scoped_lock lock(output_mutex);
31+
std::scoped_lock<std::mutex> lock(output_mutex);
3232
*ostream << buffer.str();
3333
if (level >= flush_level) {
3434
ostream->flush();

0 commit comments

Comments
 (0)