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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user