mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-27 03:21:34 +00:00
Fix formatting (-Gangnam- Google style)
This commit is contained in:
parent
d06ff7a7e8
commit
28fd7fb159
4
format.h
4
format.h
@ -272,7 +272,7 @@ typedef BasicStringRef<wchar_t> WStringRef;
|
|||||||
A formatting error such as invalid format string.
|
A formatting error such as invalid format string.
|
||||||
*/
|
*/
|
||||||
class FormatError : public std::runtime_error {
|
class FormatError : public std::runtime_error {
|
||||||
public:
|
public:
|
||||||
explicit FormatError(StringRef message)
|
explicit FormatError(StringRef message)
|
||||||
: std::runtime_error(message.c_str()) {}
|
: std::runtime_error(message.c_str()) {}
|
||||||
};
|
};
|
||||||
@ -772,7 +772,7 @@ class MakeValue : public Value {
|
|||||||
*static_cast<const T*>(arg));
|
*static_cast<const T*>(arg));
|
||||||
}
|
}
|
||||||
|
|
||||||
public:
|
public:
|
||||||
MakeValue() {}
|
MakeValue() {}
|
||||||
|
|
||||||
#define FMT_MAKE_VALUE(Type, field, TYPE) \
|
#define FMT_MAKE_VALUE(Type, field, TYPE) \
|
||||||
|
Loading…
Reference in New Issue
Block a user