Merge pull request #9916 from Dentomologist/fileinfo_constructor_remove_duplication
FileUtil: Remove duplication in FileInfo constructor
This commit is contained in:
commit
c184569192
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue