ソースを参照

No default argument in implementation.

Par Winzell 6 年 前
コミット
7374bcf34f
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/utils/File_Utils.cpp

+ 1 - 1
src/utils/File_Utils.cpp

@@ -184,7 +184,7 @@ namespace FileUtils {
         return true;
     }
 
-    bool CopyFile(const std::string &srcFilename, const std::string &dstFilename, bool createPath = false) {
+    bool CopyFile(const std::string &srcFilename, const std::string &dstFilename, bool createPath) {
         std::ifstream srcFile(srcFilename, std::ios::binary);
         if (!srcFile) {
             fmt::printf("Warning: Couldn't open file %s for reading.\n", srcFilename);