From: <sv...@op...> - 2024-11-19 18:16:08
|
Author: sagamusix Date: Tue Nov 19 19:15:56 2024 New Revision: 22244 URL: https://source.openmpt.org/browse/openmpt/?op=revision&rev=22244 Log: [Fix] Use inline instead of static. Modified: trunk/OpenMPT/soundlib/Snd_defs.h Modified: trunk/OpenMPT/soundlib/Snd_defs.h ============================================================================== --- trunk/OpenMPT/soundlib/Snd_defs.h Tue Nov 19 19:13:09 2024 (r22243) +++ trunk/OpenMPT/soundlib/Snd_defs.h Tue Nov 19 19:15:56 2024 (r22244) @@ -333,8 +333,8 @@ #define SNDMIX_MUTECHNMODE 0x100000 // Notes are not played on muted channels -static constexpr uint32 MAX_GLOBAL_VOLUME = 256; -static constexpr uint32 MAX_PREAMP = 2000; +inline constexpr uint32 MAX_GLOBAL_VOLUME = 256; +inline constexpr uint32 MAX_PREAMP = 2000; // When to execute a position override event enum class OrderTransitionMode : uint8 |