mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-21 05:34:18 +08:00
[1/N] Replace c10::sv with std::sv (#139453)
Picks some safe replacements. Pull Request resolved: https://github.com/pytorch/pytorch/pull/139453 Approved by: https://github.com/Skylion007
This commit is contained in:
@ -24,7 +24,7 @@ namespace {
|
||||
struct SchemaParser {
|
||||
explicit SchemaParser(const std::string& str, bool allow_typevars)
|
||||
: L(std::make_shared<Source>(
|
||||
c10::string_view(str),
|
||||
std::string_view(str),
|
||||
std::nullopt,
|
||||
0,
|
||||
nullptr,
|
||||
|
Reference in New Issue
Block a user