[Scummvm-git-logs] scummvm master -> 0b0af686f2899c4d3174d2a33d31b65402345c8b

criezy criezy at scummvm.org
Tue Sep 1 04:05:01 UTC 2020


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
0b0af686f2 AUDIO: Fix error using template function with anonymous struct


Commit: 0b0af686f2899c4d3174d2a33d31b65402345c8b
    https://github.com/scummvm/scummvm/commit/0b0af686f2899c4d3174d2a33d31b65402345c8b
Author: Thierry Crozat (criezy at scummvm.org)
Date: 2020-09-01T05:03:50+01:00

Commit Message:
AUDIO: Fix error using template function with anonymous struct

Old gcc versions do not like using template function with anonymous
struct and error out.

Changed paths:
    audio/mods/protracker.cpp


diff --git a/audio/mods/protracker.cpp b/audio/mods/protracker.cpp
index a56b421a0d..9e59ac95d0 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;




More information about the Scummvm-git-logs mailing list