From cfc7ae661628d51231308ebb4f0d7808d29a1c7b Mon Sep 17 00:00:00 2001 From: Pavel Labath Date: Thu, 8 Sep 2016 16:58:30 +0000 Subject: [PATCH] Fix MSVC error from r280919 MSVC did not understand my brace-initializer syntax. :/ llvm-svn: 280965 --- lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | 8 ++++---- 1 file 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 2050a7d..e64ce50 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; } } -- 2.7.4