diff options
author | Pavel Labath <labath@google.com> | 2016-09-08 16:58:30 +0000 |
---|---|---|
committer | Pavel Labath <labath@google.com> | 2016-09-08 16:58:30 +0000 |
commit | cfc7ae661628d51231308ebb4f0d7808d29a1c7b (patch) | |
tree | 4ea7d0234640318f84cefa8bb0d0ad61aeecb874 /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | |
parent | 1c608f432318a040514be17c528b97ea0626a02f (diff) | |
download | bcm5719-llvm-cfc7ae661628d51231308ebb4f0d7808d29a1c7b.tar.gz bcm5719-llvm-cfc7ae661628d51231308ebb4f0d7808d29a1c7b.zip |
Fix MSVC error from r280919
MSVC did not understand my brace-initializer syntax. :/
llvm-svn: 280965
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp index 2050a7d7610..e64ce506970 100644 --- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp @@ -4055,11 +4055,11 @@ void ProcessGDBRemote::PrefetchModuleSpecs( auto module_specs = m_gdb_comm.GetModulesInfo(module_file_specs, triple); if (module_specs) { for (const FileSpec &spec : module_file_specs) - m_cached_module_specs[{spec.GetPath(), triple.getTriple()}] = - ModuleSpec(); + m_cached_module_specs[ModuleCacheKey(spec.GetPath(), + triple.getTriple())] = ModuleSpec(); for (const ModuleSpec &spec : *module_specs) - m_cached_module_specs[{spec.GetFileSpec().GetPath(), - triple.getTriple()}] = spec; + m_cached_module_specs[ModuleCacheKey(spec.GetFileSpec().GetPath(), + triple.getTriple())] = spec; } } |