use CopiedString.empty()

This commit is contained in:
Garux
2024-02-02 01:04:42 +06:00
parent 1f2e1616a8
commit 649fcd4067
5 changed files with 6 additions and 6 deletions

View File

@@ -492,7 +492,7 @@ struct ModelResource : public Resource
return true;
}
bool isModified() const {
return ( ( !string_empty( m_path.c_str() ) // had or has an absolute path
return ( ( !m_path.empty() // had or has an absolute path
&& m_modified != modified() ) // AND disk timestamp changed
|| !path_equal( rootPath( m_originalName.c_str() ), m_path.c_str() ) ); // OR absolute vfs-root changed
}