Remove support for using system() now other means proven.

* Other miscellaneous improvements.
This commit is contained in:
gm
2016-07-27 18:45:10 -04:00
committed by Howard Hinnant
parent b7e997adba
commit ebf3b0776a
2 changed files with 28 additions and 103 deletions
+2 -2
View File
@@ -90,9 +90,9 @@ tzmain()
auto& db = get_tzdb();
std::vector<std::string> names;
names.reserve(db.zones.size() + db.links.size());
for (auto& zone : db.zones)
for (const auto& zone : db.zones)
names.push_back(zone.name());
for (auto& link : db.links)
for (const auto& link : db.links)
names.push_back(link.name());
std::sort(names.begin(), names.end());
std::cout << db.version << "\n\n";