From 4aa93ad3544349d38d1d8bce67b5a9ba24b64c4c Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Sat, 21 Apr 2018 20:38:13 -0600 Subject: [PATCH] IPC templating style fix --- .../libstratosphere/include/stratosphere/ipc_templating.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stratosphere/libstratosphere/include/stratosphere/ipc_templating.hpp b/stratosphere/libstratosphere/include/stratosphere/ipc_templating.hpp index 128682095..5638cda0a 100644 --- a/stratosphere/libstratosphere/include/stratosphere/ipc_templating.hpp +++ b/stratosphere/libstratosphere/include/stratosphere/ipc_templating.hpp @@ -388,7 +388,7 @@ struct Encoder> { template -Result WrapIpcCommandImpl(Class *myfancypointer, IpcParsedCommand& r, IpcCommand &out_command, u8 *pointer_buffer, size_t pointer_buffer_size) { +Result WrapIpcCommandImpl(Class *this_ptr, IpcParsedCommand& r, IpcCommand &out_command, u8 *pointer_buffer, size_t pointer_buffer_size) { using InArgs = typename boost::callable_traits::args_t; using InArgsWithoutThis = typename pop_front::type; using OutArgs = typename boost::callable_traits::return_type_t; @@ -405,7 +405,7 @@ Result WrapIpcCommandImpl(Class *myfancypointer, IpcParsedCommand& r, IpcCommand } auto args = Decoder::Decode(r, out_command, pointer_buffer); - auto result = std::apply( [=](auto&&... args) { return (myfancypointer->*IpcCommandImpl)(args...); }, args); + auto result = std::apply( [=](auto&&... args) { return (this_ptr->*IpcCommandImpl)(args...); }, args); return std::apply(Encoder{out_command}, result); } \ No newline at end of file