Jelajahi Sumber

No default argument in implementation.

Par Winzell 6 tahun lalu
induk
melakukan
7374bcf34f
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      src/utils/File_Utils.cpp

+ 1 - 1
src/utils/File_Utils.cpp

@@ -184,7 +184,7 @@ namespace FileUtils {
         return true;
         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);
         std::ifstream srcFile(srcFilename, std::ios::binary);
         if (!srcFile) {
         if (!srcFile) {
             fmt::printf("Warning: Couldn't open file %s for reading.\n", srcFilename);
             fmt::printf("Warning: Couldn't open file %s for reading.\n", srcFilename);