FileUtil: Remove duplication in FileInfo constructor

This commit is contained in:
Dentomologist 2021-07-19 11:50:17 -07:00
parent 6e7698a354
commit fe670a3e68
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
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)