Skip to content

Commit

Permalink
Add template keyword to properly resolve template function call
Browse files Browse the repository at this point in the history
  • Loading branch information
SamVanheer committed Mar 2, 2023
1 parent a18bc68 commit 427c8e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/shared/config/sections/EchoSection.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class EchoSection final : public GameConfigSection<DataContext>
{
// If developer mode is on then this is a debug message, otherwise it's a trace message. Helps to prevent abuse.
context.Logger.log(g_pDeveloper->value > 0 ? spdlog::level::debug : spdlog::level::trace,
"{}", context.Input.get<std::string>());
"{}", context.Input.template get<std::string>());
return true;
}
};

0 comments on commit 427c8e1

Please sign in to comment.