2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 16:24:55 +00:00

Update submodules

This commit is contained in:
Jack Andersen
2019-08-31 10:38:06 -10:00
parent 7b05b41d34
commit a434118f27
5 changed files with 5 additions and 5 deletions

View File

@@ -222,7 +222,7 @@ bool Compiler::includeFile(SystemStringView file, std::string& out, int depth) {
SystemString directory;
auto slashPos = file.find_last_of(_SYS_STR("/\\"));
if (slashPos != SystemString::npos)
directory = SystemString(file.begin(), file.begin() + slashPos);
directory = SystemString(file.data(), slashPos);
else
directory = _SYS_STR(".");