summaryrefslogtreecommitdiffhomepage
path: root/Stars45/RadioView.h
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-03-27 22:11:07 +0200
committerAki <please@ignore.pl>2022-03-27 22:11:07 +0200
commit1cf689a6ad9d6c5cd29e11a6a96cb075eb2bbbb8 (patch)
tree3b31cdfcefe051a9a31972703b4d738812467abf /Stars45/RadioView.h
parent2ba515370864b85bd29b0d23083248c74a868691 (diff)
downloadstarshatter-1cf689a6ad9d6c5cd29e11a6a96cb075eb2bbbb8.zip
starshatter-1cf689a6ad9d6c5cd29e11a6a96cb075eb2bbbb8.tar.gz
starshatter-1cf689a6ad9d6c5cd29e11a6a96cb075eb2bbbb8.tar.bz2
Replaced ThreadSync with stl's mutex
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