Skip to content

Commit bb213c6

Browse files
ochafikochafik
andcommitted
fix signatures of ifdef'd function fallbacks
Co-Authored-By: ochafik <[email protected]>
1 parent 40712c5 commit bb213c6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

common/arg.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -710,12 +710,12 @@ bool common_has_curl() {
710710
return false;
711711
}
712712

713-
static bool common_download_file_single(const std::string &, const std::string &, const std::string &) {
713+
static bool common_download_file_single(const std::string &, const std::string &, const std::string &, bool) {
714714
LOG_ERR("error: built without CURL, cannot download model from internet\n");
715715
return false;
716716
}
717717

718-
static bool common_download_file_multiple(const std::vector<std::pair<std::string, std::string>> &, const std::string &) {
718+
static bool common_download_file_multiple(const std::vector<std::pair<std::string, std::string>> &, const std::string &, bool) {
719719
LOG_ERR("error: built without CURL, cannot download model from the internet\n");
720720
return false;
721721
}
@@ -728,7 +728,7 @@ static bool common_download_model(
728728
return false;
729729
}
730730

731-
static struct common_hf_file_res common_get_hf_file(const std::string &, const std::string &) {
731+
static struct common_hf_file_res common_get_hf_file(const std::string &, const std::string &, bool) {
732732
LOG_ERR("error: built without CURL, cannot download model from the internet\n");
733733
return {};
734734
}

0 commit comments

Comments
 (0)