mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-29 01:29:35 +08:00
Updated clang-format
Merged with origin
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user