From 634683d89138cc1e66af2ea8b6184c840d180459 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Janiszewski?= Date: Mon, 17 Apr 2017 21:48:54 +0200 Subject: [PATCH] Mark GameActions::Register as static --- src/openrct2/actions/GameAction.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openrct2/actions/GameAction.h b/src/openrct2/actions/GameAction.h index 60a5218a05..f981aaa4ed 100644 --- a/src/openrct2/actions/GameAction.h +++ b/src/openrct2/actions/GameAction.h @@ -122,7 +122,7 @@ namespace GameActions GameActionResult Execute(const IGameAction * action, uint32 flags = 0, GameActionCallback callback = nullptr); template - GameActionFactory Register(uint32 id) + static GameActionFactory Register(uint32 id) { GameActionFactory factory = []() -> IGameAction * {