Skip to content

Commit b6ae410

Browse files
committed
fix: unique_lock is not CTAD
1 parent 41db448 commit b6ae410

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/Lib/ExecutionContext.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ report(
5959
UndocumentedInfoSet&& undocumented)
6060
{
6161
InfoSet info = std::move(results);
62-
std::unique_lock write_lock(mutex_);
62+
std::unique_lock<std::shared_mutex> write_lock(mutex_);
6363

6464
// Add all new Info to the existing set.
6565
info_.merge(info);

0 commit comments

Comments
 (0)