mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-02 10:29:13 +01:00
refactor: change typedef, nullptr, scoped_lock and others
This commit is contained in:
@@ -2520,7 +2520,7 @@ event_manager::InitEvents() {
|
||||
void
|
||||
event_manager::InitLaunchers() {
|
||||
|
||||
std::vector<basic_table<TEventLauncher> *> launchertables {
|
||||
std::vector launchertables {
|
||||
&m_inputdrivenlaunchers,
|
||||
&m_radiodrivenlaunchers
|
||||
};
|
||||
|
||||
@@ -42,7 +42,7 @@ struct TMTableLine
|
||||
sound_source name_sound{ sound_placement::engine };
|
||||
};
|
||||
|
||||
typedef TMTableLine TMTable[MaxTTableSize + 1];
|
||||
using TMTable = TMTableLine[MaxTTableSize + 1];
|
||||
|
||||
// typedef TTrainParameters *PTrainParameters;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user