Skip to content

Commit

Permalink
typo/コンパイルエラーの修正: shared_mutex→shared_timed_mutex
Browse files Browse the repository at this point in the history
  • Loading branch information
yutopp committed Feb 15, 2023
1 parent 0709184 commit 20ed53d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reference/shared_mutex/shared_timed_mutex.md
Expand Up @@ -96,7 +96,7 @@ public:
{
int local_count;
{
std::shared_lock<std::shared_mutex> lock(mtx_);
std::shared_lock<std::shared_timed_mutex> lock(mtx_);
local_count = count_;
} // 共有ロックをここで手放す
print_value(local_count);
Expand Down

0 comments on commit 20ed53d

Please sign in to comment.