From 0b0af686f2899c4d3174d2a33d31b65402345c8b Mon Sep 17 00:00:00 2001 From: Thierry Crozat Date: Tue, 1 Sep 2020 05:03:50 +0100 Subject: [PATCH] AUDIO: Fix error using template function with anonymous struct Old gcc versions do not like using template function with anonymous struct and error out. --- audio/mods/protracker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audio/mods/protracker.cpp b/audio/mods/protracker.cpp index a56b421a0da..9e59ac95d00 100644 --- a/audio/mods/protracker.cpp +++ b/audio/mods/protracker.cpp @@ -58,7 +58,7 @@ private: static const int16 sinetable[]; - struct { + struct Track { byte sample; byte lastSample; uint16 period;