G++11 Errors

This commit is contained in:
Robin Davies
2022-04-23 12:38:12 -04:00
parent 51c1fb6da9
commit 469b0c0c69
6 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -178,7 +178,7 @@ static void CopyDirectory(const std::filesystem::path &source, const std::filesy
std::filesystem::path destFile = destination / sourceFile.filename();
std::filesystem::copy_file(sourceFile,destFile);
chmod(destFile.c_str(),S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH);
std::ignore = chmod(destFile.c_str(),S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH);
}
}