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.
2 parents eeb7fa5 + cb7b64a commit f6662a8Copy full SHA for f6662a8
include/swift/Basic/LangOptions.h
@@ -351,7 +351,7 @@ namespace swift {
351
/// Sets an implicit platform condition.
352
void addPlatformConditionValue(PlatformConditionKind Kind, StringRef Value) {
353
assert(!Value.empty());
354
- PlatformConditionValues.emplace_back(Kind, Value);
+ PlatformConditionValues.emplace_back(Kind, Value.str());
355
}
356
357
/// Removes all values added with addPlatformConditionValue.
0 commit comments