diff --git a/common/common.cpp b/common/common.cpp index cff974f1d..9c23d001b 100644 --- a/common/common.cpp +++ b/common/common.cpp @@ -2663,7 +2663,7 @@ static bool llama_download_file(const std::string & url, const std::string & pat } }; - std::unique_ptr outfile(fopen(path_temporary.c_str(), "wb"), FILE_deleter()); + std::unique_ptr outfile(fopen(path_temporary.c_str(), "wb")); if (!outfile) { fprintf(stderr, "%s: error opening local file for writing: %s\n", __func__, path.c_str()); return false;