forked from qt-creator/qt-creator
Various places: performance-for-range-copy
Change-Id: I475990d32a5211d31a77782667a2dfedba134137 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -211,7 +211,7 @@ public:
|
||||
|
||||
GlobalDebuggerOptions *options = Internal::globalDebuggerOptions();
|
||||
SourcePathMap allPathMap = options->sourcePathMap;
|
||||
for (auto regExpMap : qAsConst(options->sourcePathRegExpMap))
|
||||
for (const auto ®ExpMap : qAsConst(options->sourcePathRegExpMap))
|
||||
allPathMap.insert(regExpMap.first.pattern(), regExpMap.second);
|
||||
m_sourceMappingWidget->setSourcePathMap(allPathMap);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user