diff options
author | Tamas Berghammer <tberghammer@google.com> | 2015-02-18 11:37:46 +0000 |
---|---|---|
committer | Tamas Berghammer <tberghammer@google.com> | 2015-02-18 11:37:46 +0000 |
commit | 81e9239e07189645ed836728ad805fb150fd3539 (patch) | |
tree | 7e228ab1d8cbb568424d2b6ee06b52899f71efa5 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.h | |
parent | ee130d1c2ac713d3a093e53231ae3f6a5e26c0b6 (diff) | |
download | bcm5719-llvm-81e9239e07189645ed836728ad805fb150fd3539.tar.gz bcm5719-llvm-81e9239e07189645ed836728ad805fb150fd3539.zip |
Remove alias template from GDBRemoteCommunicationServerCommon
It is required because MSVC 2013 doesn't generate correct code for
template aliases.
llvm-svn: 229666
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, |