For backwards compatibility with older OIIO versions without implicit conversion from std::string_view.
| 61 | // For backwards compatibility with older OIIO versions without implicit |
| 62 | // conversion from std::string_view. |
| 63 | OIIO::string_view OIIOFromStdStringView(std::string_view value) { |
| 64 | return {value.data(), value.size()}; |
| 65 | } |
| 66 | |
| 67 | // Convert a filesystem path to a UTF-8 std::string. On Windows, |
| 68 | // path.string() returns a locale-dependent narrow string, which mangles |
no test coverage detected