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

@@ -134,7 +134,7 @@ namespace Nz::ShaderLang
inline ShaderAst::StatementPtr Parse(const std::string_view& source);
inline ShaderAst::StatementPtr Parse(const std::vector<Token>& tokens);
NAZARA_SHADER_API ShaderAst::StatementPtr Parse(const std::filesystem::path& sourcePath);
NAZARA_SHADER_API ShaderAst::StatementPtr ParseFromFile(const std::filesystem::path& sourcePath);
}
#include <Nazara/Shader/ShaderLangParser.inl>