kopia lustrzana https://gitlab.com/tomaszg/geostat
Show number of caches in html output if "not found" is enabled
rodzic
f8b78acaca
commit
ab283c8672
|
@ -285,6 +285,12 @@ int main(int argc, char** argv) {
|
|||
std::cout << "</div>\n";
|
||||
}
|
||||
|
||||
if (show_html && get_not_found) {
|
||||
std::cout << "<div class=\"basic_stats\">\n";
|
||||
std::cout << "Still " << cc.size() << "caches to be found...<br>\n";
|
||||
std::cout << "</div>\n";
|
||||
}
|
||||
|
||||
if ((show_minmax || show_html) && !get_not_found) {
|
||||
auto N = std::max_element(cc.begin(), cc.end(), [&](const Cache& a, const Cache& b) { return a.pos.lat < b.pos.lat; });
|
||||
auto S = std::min_element(cc.begin(), cc.end(), [&](const Cache& a, const Cache& b) { return a.pos.lat < b.pos.lat; });
|
||||
|
|
Ładowanie…
Reference in New Issue