This commit is contained in:
proller committed 2025-09-29 22:37:53 +02:00
1 parent e0aaa08c49
commit 41986e87b9
3 files changed
+7 -8

No files matched your search

+5 -6
View File
@@ -50,8 +50,8 @@ size_t http_to_file(const std::string &url, const std::string &path)
return std::filesystem::file_size(path);
};
size_t multi_http_to_file(const std::string &name,
const std::vector<std::string> &links, const std::string &path)
size_t multi_http_to_file(const std::string &name, const std::vector<std::string> &links,
const std::string &path)
{
static concurrent_set<std::string> http_failed;
if (http_failed.contains(name)) {
@@ -70,7 +70,7 @@ size_t multi_http_to_file(const std::string &name,
http_failed.insert(name);
errorstream
warningstream
<< "Not found " << name << "\n"
<< "try to download manually: \n"
<< "curl -o " << path << " "
@@ -83,8 +83,7 @@ size_t multi_http_to_file(const std::string &name,
return std::filesystem::file_size(path);
};
size_t multi_http_to_file(
const std::vector<std::string> &links, const std::string &path)
size_t multi_http_to_file(const std::vector<std::string> &links, const std::string &path)
{
static concurrent_set<std::string> http_failed;
if (http_failed.contains(path)) {
@@ -103,7 +102,7 @@ size_t multi_http_to_file(
http_failed.emplace(path);
errorstream
warningstream
<< "Not found " << path << "\n"
<< "try to download manually: \n"
<< "curl -o " << path << " "
+1 -1
View File
@@ -454,7 +454,7 @@ void MapgenEarth::generateBuildings()
hdlr->apply();
}
warningstream << "Buildings stat: " << node_min << " set=" << stat.set
verbosestream << "Buildings stat: " << node_min << " set=" << stat.set
<< " miss=" << stat.miss << " level=" << stat.level
<< " check=" << stat.check << " fill=" << stat.fill << "\n";
stat = {};