summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.h
diff options
context:
space:
mode:
authorTamas Berghammer <tberghammer@google.com>2015-02-18 11:37:46 +0000
committerTamas Berghammer <tberghammer@google.com>2015-02-18 11:37:46 +0000
commit81e9239e07189645ed836728ad805fb150fd3539 (patch)
tree7e228ab1d8cbb568424d2b6ee06b52899f71efa5 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.h
parentee130d1c2ac713d3a093e53231ae3f6a5e26c0b6 (diff)
downloadbcm5719-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.h7
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,
OpenPOWER on IntegriCloud