mirror of
https://github.com/alterware/iw4-validator.git
synced 2025-12-02 07:37:49 +00:00
feat: print warning for invalid gametypes
This commit is contained in:
@@ -7,12 +7,12 @@ namespace utils
|
||||
{
|
||||
bool remove_file(const std::string& file)
|
||||
{
|
||||
return std::remove(file.data()) == 0;
|
||||
return std::remove(file.c_str()) == 0;
|
||||
}
|
||||
|
||||
bool move_file(const std::string& src, const std::string& target)
|
||||
{
|
||||
return std::rename(src.data(), target.data()) == 0;
|
||||
return std::rename(src.c_str(), target.c_str()) == 0;
|
||||
}
|
||||
|
||||
bool file_exists(const std::string& file)
|
||||
|
||||
Reference in New Issue
Block a user