Skip to content

Commit

Permalink
Merge Out of band infinite recursion fix (mr-273)
Browse files Browse the repository at this point in the history
- 018ca01 fix(server): out of band infinite recursion
  • Loading branch information
prikolium-cfx committed Apr 17, 2024
2 parents 400dec2 + 018ca01 commit 62d5dc4
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,6 @@ namespace fx
{
namespace ServerDecorators
{
template <typename... TOOB>
const fwRefContainer<fx::GameServer>& WithOutOfBand(const fwRefContainer<fx::GameServer>& server)
{
return WithOutOfBand<TOOB...>(server);
}

template <typename ServerImpl, typename... TOOB>
const fwRefContainer<ServerImpl>& WithOutOfBandImpl(const fwRefContainer<ServerImpl>& server)
{
Expand Down Expand Up @@ -101,5 +95,11 @@ namespace fx

return server;
}

template <typename... TOOB>
const fwRefContainer<fx::GameServer>& WithOutOfBand(const fwRefContainer<fx::GameServer>& server)
{
return WithOutOfBandImpl<fx::GameServer, TOOB...>(server);
}
}
}

0 comments on commit 62d5dc4

Please sign in to comment.