mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-12 01:38:29 +12:00
Update fmt version to 9.1.0 (#177)
This commit is contained in:
parent
f2ec0b4083
commit
0ed4fdcd78
16 changed files with 56 additions and 33 deletions
|
@ -48,13 +48,13 @@ template<typename ...TArgs>
|
|||
wxString wxStringFormat2(const wxString& format, TArgs&&...args)
|
||||
{
|
||||
// ignores locale?
|
||||
return fmt::format(format.ToStdString(), std::forward<TArgs>(args)...);
|
||||
return fmt::format(fmt::runtime(format.ToStdString()), std::forward<TArgs>(args)...);
|
||||
}
|
||||
|
||||
template<typename ...TArgs>
|
||||
wxString wxStringFormat2W(const wxString& format, TArgs&&...args)
|
||||
{
|
||||
return fmt::format(format.ToStdWstring(), std::forward<TArgs>(args)...);
|
||||
return fmt::format(fmt::runtime(format.ToStdWstring()), std::forward<TArgs>(args)...);
|
||||
}
|
||||
|
||||
// executes a function when destroying the obj
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue