Merge pull request #9916 from Dentomologist/fileinfo_constructor_remove_duplication

FileUtil: Remove duplication in FileInfo constructor
This commit is contained in:
JMC47 2021-07-19 15:10:02 -04:00 committed by GitHub
commit c184569192
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 6 deletions

View File

@ -92,12 +92,6 @@ FileInfo::FileInfo(const char* path) : FileInfo(std::string(path))
#else #else
FileInfo::FileInfo(const std::string& path) : FileInfo(path.c_str()) FileInfo::FileInfo(const std::string& path) : FileInfo(path.c_str())
{ {
#ifdef ANDROID
if (IsPathAndroidContent(path))
AndroidContentInit(path);
else
#endif
m_exists = stat(path.c_str(), &m_stat) == 0;
} }
FileInfo::FileInfo(const char* path) FileInfo::FileInfo(const char* path)