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

This reverts commit ebf3b0776a.
This commit is contained in:
Howard Hinnant
2016-08-05 20:16:09 -04:00
parent 67bdd6ac14
commit b4ca58d9a8
2 changed files with 103 additions and 28 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 (const auto& zone : db.zones)
for (auto& zone : db.zones)
names.push_back(zone.name());
for (const auto& link : db.links)
for (auto& link : db.links)
names.push_back(link.name());
std::sort(names.begin(), names.end());
std::cout << db.version << "\n\n";