We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba89f84 commit 0281390Copy full SHA for 0281390
include/TreeSupportBaseCircle.h
@@ -19,6 +19,7 @@ class TreeSupportBaseCircle
19
protected:
20
inline static Polygon base_circle;
21
inline static bool circle_generated = false;
22
+ inline static std::mutex critical_sections;
23
24
public:
25
inline static constexpr int64_t base_radius = 50;
@@ -31,7 +32,6 @@ class TreeSupportBaseCircle
31
32
}
33
else
34
{
- std::mutex critical_sections;
35
std::lock_guard<std::mutex> critical_section_progress(critical_sections);
36
if (circle_generated)
37
0 commit comments