format files

This commit is contained in:
Bechir
2024-04-05 17:05:42 +02:00
parent 2f23e4610d
commit 598e9f6708
6 changed files with 76 additions and 84 deletions

View File

@ -2,8 +2,8 @@
#include <filesystem>
#include <fstream>
#include <iostream>
#include <vector>
#include <map>
#include <vector>
#define LOCATION std::string(__FILE__) + std::string(":") + std::to_string(__LINE__) + ":" + std::string(__func__) + ":"
@ -38,7 +38,7 @@ template <typename K, typename V> std::ostream &operator<<(std::ostream &out, co
out << "{";
size_t i = 0;
for (auto &kv : v) {
out << kv.first << ": " << kv.second << ((++i!=v.size())?", ":"");
out << kv.first << ": " << kv.second << ((++i != v.size()) ? ", " : "");
}
out << "}";