Compiler warning pass

This commit is contained in:
Antoine Pilote
2023-09-17 20:15:33 -04:00
parent 6c4dea0ddb
commit dd66c15794
2 changed files with 4 additions and 4 deletions

View File

@@ -174,12 +174,12 @@ namespace Nuake
fileWriter.close();
}
int FileSystem::DeleteFileFromPath(const std::string& path)
uintmax_t FileSystem::DeleteFileFromPath(const std::string& path)
{
return std::remove(path.c_str());
}
int FileSystem::DeleteFolder(const std::string& path)
uintmax_t FileSystem::DeleteFolder(const std::string& path)
{
return std::filesystem::remove_all(path.c_str());
}

View File

@@ -47,8 +47,8 @@ namespace Nuake
static bool BeginWriteFile(const std::string path);
static bool WriteLine(const std::string line);
static void EndWriteFile();
static int DeleteFileFromPath(const std::string& path);
static int DeleteFolder(const std::string& path);
static uintmax_t DeleteFileFromPath(const std::string& path);
static uintmax_t DeleteFolder(const std::string& path);
};
class File