mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Update GetDirectoryName namespace to the one in FML on Linux. (#5879)
This commit is contained in:
parent
dbd2f57e0e
commit
de206ea953
@ -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)})};
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user