summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2016-09-08 16:58:30 +0000
committerPavel Labath <labath@google.com>2016-09-08 16:58:30 +0000
commitcfc7ae661628d51231308ebb4f0d7808d29a1c7b (patch)
tree4ea7d0234640318f84cefa8bb0d0ad61aeecb874 /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
parent1c608f432318a040514be17c528b97ea0626a02f (diff)
downloadbcm5719-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.cpp8
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;
}
}
OpenPOWER on IntegriCloud