17
0
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:
jerrrrycho
2026-09-27 19:31:00 +02:00
parent 8fbb482350
commit b8c9724ca3
42 changed files with 186 additions and 186 deletions

View File

@@ -2520,7 +2520,7 @@ event_manager::InitEvents() {
void
event_manager::InitLaunchers() {
std::vector<basic_table<TEventLauncher> *> launchertables {
std::vector launchertables {
&m_inputdrivenlaunchers,
&m_radiodrivenlaunchers
};

View File

@@ -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;