From: Pavel Labath Date: Thu, 8 Sep 2016 16:58:30 +0000 (+0000) Subject: Fix MSVC error from r280919 X-Git-Tag: llvmorg-4.0.0-rc1~10306 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cfc7ae661628d51231308ebb4f0d7808d29a1c7b;p=platform%2Fupstream%2Fllvm.git Fix MSVC error from r280919 MSVC did not understand my brace-initializer syntax. :/ llvm-svn: 280965 --- 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; } }