From 1cf689a6ad9d6c5cd29e11a6a96cb075eb2bbbb8 Mon Sep 17 00:00:00 2001 From: Aki Date: Sun, 27 Mar 2022 22:11:07 +0200 Subject: Replaced ThreadSync with stl's mutex --- Stars45/RadioView.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Stars45/RadioView.h') diff --git a/Stars45/RadioView.h b/Stars45/RadioView.h index 31b0887..1d25459 100644 --- a/Stars45/RadioView.h +++ b/Stars45/RadioView.h @@ -14,12 +14,13 @@ #ifndef RadioView_h #define RadioView_h +#include + #include "Types.h" #include "View.h" #include "Color.h" #include "SimObject.h" #include "Text.h" -#include "ThreadSync.h" // +--------------------------------------------------------------------+ @@ -80,7 +81,7 @@ protected: double msg_time[MAX_MSG]; static RadioView* radio_view; - static ThreadSync sync; + static std::mutex sync; }; #endif // RadioView_h -- cgit v1.1