diff options
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.h')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.h b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.h index c779a4e7549..c61f903ee99 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.h +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.h @@ -179,12 +179,9 @@ protected: lldb_private::StreamString &response); template <typename T> - using MemberFunctionPacketHandler = PacketResult (T::*) (StringExtractorGDBRemote& packet); - - template <typename T> void - RegisterMemberFunctionHandler(StringExtractorGDBRemote::ServerPacketType packet_type, - MemberFunctionPacketHandler<T> handler) + RegisterMemberFunctionHandler (StringExtractorGDBRemote::ServerPacketType packet_type, + PacketResult (T::*handler) (StringExtractorGDBRemote& packet)) { RegisterPacketHandler(packet_type, [this, handler] (StringExtractorGDBRemote packet, |