Fix compilation w/o curl

This commit is contained in:
ochafik 2024-08-28 20:27:11 +01:00
parent 2cfba5a4d7
commit eb357d0822

View file

@ -846,7 +846,7 @@ public:
return cache[url] = json::parse(response.str());
};
#else
fetch_json = [](const std::string &) {
_fetch_json = [&](const std::string &) {
_errors.push_back("Fetching external refs not supported, please recompile with CURL support.");
return json::object();
};