mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Some code changed with Clang-Tidy
This commit is contained in:
parent
5c66771e3e
commit
4e5310cc60
175 changed files with 467 additions and 674 deletions
|
|
@ -100,10 +100,7 @@ bool DirAccessUnix::dir_exists(String p_dir) {
|
|||
struct stat flags;
|
||||
bool success = (stat(p_dir.utf8().get_data(), &flags) == 0);
|
||||
|
||||
if (success && S_ISDIR(flags.st_mode))
|
||||
return true;
|
||||
|
||||
return false;
|
||||
return (success && S_ISDIR(flags.st_mode));
|
||||
}
|
||||
|
||||
uint64_t DirAccessUnix::get_modified_time(String p_file) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue