Fix clang-format

This commit is contained in:
Alex
2026-07-03 23:52:24 +02:00
parent 15e0c9cb1c
commit 331fe0e963
2 changed files with 3 additions and 3 deletions
+3 -2
View File
@@ -89,8 +89,9 @@ class Clock final : public ALabel {
{"shift_reset", &waybar::modules::Clock::cldShift_reset}, {"shift_reset", &waybar::modules::Clock::cldShift_reset},
{"tz_up", &waybar::modules::Clock::tz_up}, {"tz_up", &waybar::modules::Clock::tz_up},
{"tz_down", &waybar::modules::Clock::tz_down}}; {"tz_down", &waybar::modules::Clock::tz_down}};
static inline std::map<const std::string, void (waybar::modules::Clock::* const)(const std::string& action)> actionWithArgsMap_{ static inline std::map<const std::string,
{"exec", &waybar::modules::Clock::action_exec}}; void (waybar::modules::Clock::* const)(const std::string& action)>
actionWithArgsMap_{{"exec", &waybar::modules::Clock::action_exec}};
}; };
} // namespace waybar::modules } // namespace waybar::modules
-1
View File
@@ -550,7 +550,6 @@ void waybar::modules::Clock::action_exec(const std::string& action) {
pid_children_.push_back(util::command::forkExec(cmd)); pid_children_.push_back(util::command::forkExec(cmd));
} }
#ifdef HAVE_LANGINFO_1STDAY #ifdef HAVE_LANGINFO_1STDAY
template <auto fn> template <auto fn>
using deleter_from_fn = std::integral_constant<decltype(fn), fn>; using deleter_from_fn = std::integral_constant<decltype(fn), fn>;