Skip to content

Commit

Permalink
[ur] fix ctad-maybe-unsupported warning
Browse files Browse the repository at this point in the history
that appeared on intel/llvm CI
  • Loading branch information
igchor committed Jul 31, 2023
1 parent 5b4c3d2 commit be77877
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 be77877

Please sign in to comment.