Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
profezzorn committed Apr 4, 2024
1 parent df14616 commit 8e4e970
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/sound_library.h
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ class SoundLibraryTemplate {
#define ADD_SL_SOUND(NAME, BASE) \
void Say##NAME() { this->Play(BASE ".wav"); } \
/* t for "trampoline" */ \
struct t##NAME { static void say() { getPtr<SPEC::SoundLibrary>->Say##NAME(); } }
struct t##NAME { static void say() { getPtr<typename SPEC::SoundLibrary>()->Say##NAME(); } }

ADD_SL_SOUND(Red, "clrlst/clrlst01");
ADD_SL_SOUND(OrangeRed, "clrlst/clrlst02");
Expand Down

0 comments on commit 8e4e970

Please sign in to comment.