mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2025-08-18 05:56:00 -04:00
fix prototype for non-curl builds
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user