mirror of
https://github.com/antopilo/Nuake.git
synced 2026-09-21 20:08:40 +03:00
Compiler warning pass
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user