mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2025-06-23 11:57:58 +02:00
format files
This commit is contained in:
@ -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 << "}";
|
||||
|
Reference in New Issue
Block a user