mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Make StringRef to std::string conversions explicit.
This commit is contained in:
@@ -5154,7 +5154,8 @@ void Serializer::writeAST(ModuleOrSourceFile DC) {
|
||||
for (auto config : entry.second) {
|
||||
std::string paramIndices = config.first.str().str();
|
||||
auto genSigID = addGenericSignatureRef(config.second);
|
||||
derivativeConfigs[entry.first].push_back({paramIndices, genSigID});
|
||||
derivativeConfigs[entry.first].push_back(
|
||||
{std::string(paramIndices), genSigID});
|
||||
}
|
||||
}
|
||||
index_block::DerivativeFunctionConfigTableLayout DerivativeConfigTable(Out);
|
||||
|
||||
Reference in New Issue
Block a user