refactor(clang-tidy): Apply fixes

This commit is contained in:
Michael Carlberg 2017-01-24 08:01:04 +01:00
parent 8b9461e63e
commit a5d6670121
15 changed files with 44 additions and 83 deletions
src/components

View file

@ -23,7 +23,7 @@
#include "x11/tray_manager.hpp"
#include "x11/types.hpp"
#include <signal.h>
#include <csignal>
POLYBAR_NS
@ -586,7 +586,7 @@ bool controller::on(const signals::ui::ready&) {
enqueue(make_update_evt(true));
if (!m_snapshot_dst.empty()) {
m_threads.emplace_back(thread([&]{
m_threads.emplace_back(thread([&] {
this_thread::sleep_for(3s);
m_sig.emit(signals::ui::request_snapshot{move(m_snapshot_dst)});
enqueue(make_update_evt(true));