17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-10-29 08:07:29 +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

@@ -400,7 +400,7 @@ sound_source::play_basic() {
// dispatch appropriate sound
if( true == m_playbeginning
&& sound(sound_id::begin).buffer != null_handle) {
std::vector<sound_id> sounds { sound_id::begin, sound_id::main };
std::vector sounds { sound_id::begin, sound_id::main };
insert( std::begin( sounds ), std::end( sounds ) );
m_playbeginning = false;
}
@@ -1016,7 +1016,7 @@ sound_source::update_soundproofing() {
void
sound_source::insert( sound_handle const Sound ) {
std::vector<sound_handle> sounds { Sound };
std::vector sounds { Sound };
return insert( std::begin( sounds ), std::end( sounds ) );
}