mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-29 21:31:05 +00:00
Fix a warning and remove extra newline
This commit is contained in:
parent
e567fe6960
commit
e0179ee190
3
format.h
3
format.h
@ -685,7 +685,7 @@ class BasicCharTraits {
|
|||||||
#else
|
#else
|
||||||
typedef Char *CharPtr;
|
typedef Char *CharPtr;
|
||||||
#endif
|
#endif
|
||||||
static Char cast(wchar_t value) { return static_cast<Char>(value); }
|
static Char cast(int value) { return static_cast<Char>(value); }
|
||||||
};
|
};
|
||||||
|
|
||||||
template <typename Char>
|
template <typename Char>
|
||||||
@ -1624,7 +1624,6 @@ inline StrFormatSpec<wchar_t> pad(
|
|||||||
return StrFormatSpec<wchar_t>(str, width, fill);
|
return StrFormatSpec<wchar_t>(str, width, fill);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
namespace internal {
|
namespace internal {
|
||||||
|
|
||||||
template <typename Char>
|
template <typename Char>
|
||||||
|
Loading…
Reference in New Issue
Block a user