Codechange: Shuffle MusicSongInfo members to reduce alignment padding. (#14580)

This commit is contained in:
Peter Nelson
2025-09-03 18:22:50 +01:00
committed by dP
parent 49198ddae0
commit 9ce4aef266
2 changed files with 9 additions and 9 deletions
+2 -2
View File
@@ -39,8 +39,8 @@
struct MusicSystem {
struct PlaylistEntry : MusicSongInfo {
const MusicSet *set; ///< music set the song comes from
uint set_index; ///< index of song in set
const MusicSet *set; ///< music set the song comes from
uint set_index; ///< index of song in set
PlaylistEntry(const MusicSet *set, uint set_index) : MusicSongInfo(set->songinfo[set_index]), set(set), set_index(set_index) { }
bool IsValid() const { return !this->songname.empty(); }