Fix compilation w/o curl
This commit is contained in:
parent
2cfba5a4d7
commit
eb357d0822
1 changed files with 1 additions and 1 deletions
|
@ -846,7 +846,7 @@ public:
|
||||||
return cache[url] = json::parse(response.str());
|
return cache[url] = json::parse(response.str());
|
||||||
};
|
};
|
||||||
#else
|
#else
|
||||||
fetch_json = [](const std::string &) {
|
_fetch_json = [&](const std::string &) {
|
||||||
_errors.push_back("Fetching external refs not supported, please recompile with CURL support.");
|
_errors.push_back("Fetching external refs not supported, please recompile with CURL support.");
|
||||||
return json::object();
|
return json::object();
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue