We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 055df49 commit 9d9a85eCopy full SHA for 9d9a85e
flang/lib/Semantics/scope.cpp
@@ -56,7 +56,7 @@ Scope &Scope::MakeScope(Kind kind, Symbol *symbol) {
56
57
template <typename T>
58
static std::vector<common::Reference<T>> GetSortedSymbols(
59
- std::map<SourceName, MutableSymbolRef> symbols) {
+ const std::map<SourceName, MutableSymbolRef> &symbols) {
60
std::vector<common::Reference<T>> result;
61
result.reserve(symbols.size());
62
for (auto &pair : symbols) {
0 commit comments