mirror of
https://github.com/apple/swift.git
synced 2026-06-20 15:42:51 +02:00
671576d2d3
The constructor here required multiple user-defined conversions which is not exactly pedantically correct. Add an explicit indicator that the constructor being invoked is the `StringRef` constructor to convert the `SmallString` to a `StringRef` which can then be implicitly converted to the `Optional<StringRef>`. This silences a MSVC warning (clang should catch this with `-pedantic`).