fix prototype for non-curl builds

This commit is contained in:
Sigbjørn Skjæret
2025-05-28 11:11:02 +02:00
committed by GitHub
parent ecbc92acd0
commit 0fe7183ae4

View File

@@ -709,12 +709,12 @@ bool common_has_curl() {
return false; return false;
} }
static bool common_download_file_single(const std::string &, const std::string &, const std::string &, bool) { bool common_download_file_single(const std::string &, const std::string &, const std::string &, bool) {
LOG_ERR("error: built without CURL, cannot download model from internet\n"); LOG_ERR("error: built without CURL, cannot download model from internet\n");
return false; return false;
} }
static bool common_download_file_multiple(const std::vector<std::pair<std::string, std::string>> &, const std::string &, bool) { bool common_download_file_multiple(const std::vector<std::pair<std::string, std::string>> &, const std::string &, bool) {
LOG_ERR("error: built without CURL, cannot download model from the internet\n"); LOG_ERR("error: built without CURL, cannot download model from the internet\n");
return false; return false;
} }