diff --git a/FileUtils.cpp b/FileUtils.cpp index a64f76b9..6285a275 100644 --- a/FileUtils.cpp +++ b/FileUtils.cpp @@ -156,7 +156,7 @@ int CFile::GetInfo(const CString& sFile, struct stat& st) { // // Functions to manipulate the file on the filesystem // -int CFile::Delete() { return CFile::Delete(m_sLongName); } +bool CFile::Delete() { return CFile::Delete(m_sLongName); } int CFile::Move(const CString& sNewFileName, bool bOverwrite) { return CFile::Move(m_sLongName, sNewFileName, bOverwrite); } diff --git a/FileUtils.h b/FileUtils.h index a91a5da1..802632e3 100644 --- a/FileUtils.h +++ b/FileUtils.h @@ -97,7 +97,7 @@ public: // // Functions to manipulate the file on the filesystem // - int Delete(); + bool Delete(); int Move(const CString& sNewFileName, bool bOverwrite = false); int Copy(const CString& sNewFileName, bool bOverwrite = false);