Mark GameActions::Register as static

This commit is contained in:
Michał Janiszewski 2017-04-17 21:48:54 +02:00 committed by Michał Janiszewski
parent fd00096b3b
commit 634683d891
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ namespace GameActions
GameActionResult Execute(const IGameAction * action, uint32 flags = 0, GameActionCallback callback = nullptr);
template<typename T>
GameActionFactory Register(uint32 id)
static GameActionFactory Register(uint32 id)
{
GameActionFactory factory = []() -> IGameAction *
{