Fix a typo from the previous commit

This commit is contained in:
Username404-59 2021-08-20 01:42:43 +02:00
parent 845794a922
commit fdb8579941
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ int main(int argc, char* argv[]) {
for (auto& currentFuture: Units) { for (auto& currentFuture: Units) {
const auto&& result = currentFuture.get(); const auto&& result = currentFuture.get();
if (not result.second.has_value()) { if (not result.second.has_value()) {
If (printResult) cout << result.first << "\n\n"; if (printResult) cout << result.first << "\n\n";
} else { } else {
cout << "Compilation of " << result.first << " has failed with the following error:\n" << result.second.value().what() << "\n\n"; cout << "Compilation of " << result.first << " has failed with the following error:\n" << result.second.value().what() << "\n\n";
} }