summaryrefslogtreecommitdiffhomepage
path: root/Stars45/RadioView.h
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/RadioView.h')
-rw-r--r--Stars45/RadioView.h5
1 files changed, 3 insertions, 2 deletions
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 <mutex>
+
#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