forked from fmtlib/fmt
Update changelog
This commit is contained in:
@ -121,13 +121,13 @@
|
|||||||
(https://github.com/fmtlib/fmt/issues/3625):
|
(https://github.com/fmtlib/fmt/issues/3625):
|
||||||
|
|
||||||
```c++
|
```c++
|
||||||
auto s = fmt::styled(std::string("dangler"), fmt::emphasis::bold);
|
auto s = fmt::styled(std::string("dangle"), fmt::emphasis::bold);
|
||||||
fmt::print("{}\n", s); // compile error
|
fmt::print("{}\n", s); // compile error
|
||||||
```
|
```
|
||||||
|
|
||||||
Pass `fmt::styled(...)` as a parameter instead.
|
Pass `fmt::styled(...)` as a parameter instead.
|
||||||
|
|
||||||
- Added a null check when formatting C strings with the `s` specifier
|
- Added a null check when formatting a C string with the `s` specifier
|
||||||
(https://github.com/fmtlib/fmt/issues/3706).
|
(https://github.com/fmtlib/fmt/issues/3706).
|
||||||
|
|
||||||
- Disallowed the `c` specifier for `bool`
|
- Disallowed the `c` specifier for `bool`
|
||||||
|
Reference in New Issue
Block a user