diff options
author | Aki <please@ignore.pl> | 2022-03-27 22:11:07 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-03-27 22:11:07 +0200 |
commit | 1cf689a6ad9d6c5cd29e11a6a96cb075eb2bbbb8 (patch) | |
tree | 3b31cdfcefe051a9a31972703b4d738812467abf /Stars45/CmpSelectDlg.h | |
parent | 2ba515370864b85bd29b0d23083248c74a868691 (diff) | |
download | starshatter-1cf689a6ad9d6c5cd29e11a6a96cb075eb2bbbb8.zip starshatter-1cf689a6ad9d6c5cd29e11a6a96cb075eb2bbbb8.tar.gz starshatter-1cf689a6ad9d6c5cd29e11a6a96cb075eb2bbbb8.tar.bz2 |
Replaced ThreadSync with stl's mutex
Diffstat (limited to 'Stars45/CmpSelectDlg.h')
-rw-r--r-- | Stars45/CmpSelectDlg.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Stars45/CmpSelectDlg.h b/Stars45/CmpSelectDlg.h index 7463aec..093e21d 100644 --- a/Stars45/CmpSelectDlg.h +++ b/Stars45/CmpSelectDlg.h @@ -14,6 +14,8 @@ #ifndef CmpSelectDlg_h #define CmpSelectDlg_h +#include <mutex> + #include "Types.h" #include "FormWindow.h" #include "Bitmap.h" @@ -22,7 +24,6 @@ #include "ListBox.h" #include "Font.h" #include "Text.h" -#include "ThreadSync.h" // +--------------------------------------------------------------------+ @@ -76,7 +77,7 @@ protected: Campaign* campaign; int selected_mission; HANDLE hproc; - ThreadSync sync; + std::mutex sync; bool loading; bool loaded; Text load_file; |