1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-31 10:45:16 +01:00

Remove unused overload of SetCallback (#15885)

This commit is contained in:
ζeh Matt
2021-11-10 06:03:34 -08:00
committed by GitHub
parent eac74de3ce
commit 91d6338db5

View File

@@ -252,13 +252,6 @@ public:
return GameActionNameQuery<TType>::Name();
}
void SetCallback(std::function<void(const struct GameAction*, const TResultType*)> typedCallback)
{
GameAction::SetCallback([typedCallback](const GameAction* ga, const GameActions::Result* result) {
typedCallback(ga, static_cast<const TResultType*>(result));
});
}
protected:
template<class... TTypes> static constexpr std::unique_ptr<TResultType> MakeResult(TTypes&&... args)
{