Shader: Rename Parse function to ParseFromFile

to avoid ambiguous calls when passing const char*
This commit is contained in:
Jérôme Leclercq
2021-12-23 17:18:30 +01:00
parent e497faabaf
commit e2882f6595
3 changed files with 4 additions and 4 deletions

View File

@@ -1257,7 +1257,7 @@ namespace Nz::ShaderLang
}
}
ShaderAst::StatementPtr Parse(const std::filesystem::path& sourcePath)
ShaderAst::StatementPtr ParseFromFile(const std::filesystem::path& sourcePath)
{
File file(sourcePath);
if (!file.Open(OpenMode::ReadOnly | OpenMode::Text))