Update GetDirectoryName namespace to the one in FML on Linux. (flutter/engine#5879)
This commit is contained in:
committed by
Michael Goderbauer
parent
a238a2aad7
commit
050b93b822
@@ -18,7 +18,7 @@ std::pair<bool, std::string> GetExecutableDirectoryPath() {
|
||||
if (read_size == -1) {
|
||||
return {false, ""};
|
||||
}
|
||||
return {true, files::GetDirectoryName(
|
||||
return {true, fml::paths::GetDirectoryName(
|
||||
std::string{path, static_cast<size_t>(read_size)})};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user