From 5f77718d752cebc896121f518a4ca59880653d38 Mon Sep 17 00:00:00 2001 From: AlexandreRouma Date: Wed, 26 Jun 2024 13:10:05 +0200 Subject: [PATCH] trying without static initialization --- min_broken/main.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/min_broken/main.cpp b/min_broken/main.cpp index 7fd48a8f..33c1d80e 100644 --- a/min_broken/main.cpp +++ b/min_broken/main.cpp @@ -1,8 +1,7 @@ #include -std::recursive_mutex mtx; - int main() { + std::recursive_mutex mtx; std::lock_guard lck(mtx); return 0; } \ No newline at end of file