Skip to content

Commit

Permalink
Update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaut committed Dec 29, 2023
1 parent c64edcd commit 63e4b93
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,13 +121,13 @@
(https://github.com/fmtlib/fmt/issues/3625):

```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
```

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).

- Disallowed the `c` specifier for `bool`
Expand Down

0 comments on commit 63e4b93

Please sign in to comment.