utility: Fixed FilePath::canonical() still used uninitialized m_exists
This commit is contained in:
@@ -74,7 +74,7 @@ FilePath FilePath::absolute() const
|
||||
|
||||
FilePath FilePath::canonical() const
|
||||
{
|
||||
if (!m_exists)
|
||||
if (!exists())
|
||||
{
|
||||
return FilePath(m_path);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user