lesson_6 #6

Open
alexander wants to merge 4 commits from lesson_6 into master
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 100e897201 - Show all commits

View File

@ -16,9 +16,9 @@ static std::mutex mtx_cout;
class pcout
{
private:
std::lock_guard<std::mutex> lk;
std::lock_guard<std::mutex> lg;
public:
pcout() : lk(std::lock_guard<std::mutex>(mtx_cout))
pcout() : lg(std::lock_guard<std::mutex>(mtx_cout))
{
}