clang format

This commit is contained in:
gabime
2023-09-25 16:08:29 +03:00
parent 230e15f499
commit 9d52261185
93 changed files with 1527 additions and 1430 deletions

View File

@@ -11,9 +11,8 @@
namespace utils {
template<typename T>
inline std::string format(const T &value)
{
template <typename T>
inline std::string format(const T &value) {
static std::locale loc("");
std::stringstream ss;
ss.imbue(loc);
@@ -21,9 +20,8 @@ inline std::string format(const T &value)
return ss.str();
}
template<>
inline std::string format(const double &value)
{
template <>
inline std::string format(const double &value) {
static std::locale loc("");
std::stringstream ss;
ss.imbue(loc);