waybar/src/modules/sway
Aleksei Bavshin ea17a66dfc
fix: compilation errors with cpp_std=c++20
There were two main issues with fmtlib and C++20 mode:

 - `fmt::format` defaults to compile-time argument checking and requires
   using `fmt::runtime(format_string)` to bypass that.
 - `std::format` implementation introduces conflicting declarations and
   we have to specify the namespace for all `format`/`format_to` calls.
2023-01-20 22:50:02 -08:00
..
ipc fix(sway): add missing includes for GCC 13 2023-01-20 22:49:58 -08:00
bar.cpp fix: adapt to fmt 9.0.0 breaking changes 2022-07-13 22:36:32 -07:00
language.cpp fix: compilation errors with cpp_std=c++20 2023-01-20 22:50:02 -08:00
mode.cpp fix: compilation errors with cpp_std=c++20 2023-01-20 22:50:02 -08:00
scratchpad.cpp fix: compilation errors with cpp_std=c++20 2023-01-20 22:50:02 -08:00
window.cpp fix: compilation errors with cpp_std=c++20 2023-01-20 22:50:02 -08:00
workspaces.cpp fix: compilation errors with cpp_std=c++20 2023-01-20 22:50:02 -08:00