Fix clang-format
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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>;
|
||||||
|
|||||||
Reference in New Issue
Block a user