Remove unused factory.hpp imports

This commit is contained in:
patrick96
2021-09-21 21:27:42 +02:00
committed by Patrick Ziegler
parent fabce6a493
commit 3b6a950380
29 changed files with 13 additions and 40 deletions

View File

@ -1,5 +1,7 @@
#include "modules/ipc.hpp"
#include <unistd.h>
#include "components/ipc.hpp"
#include "modules/meta/base.inl"
@ -38,9 +40,7 @@ namespace modules {
m_actions.emplace(make_pair<mousebtn, string>(mousebtn::DOUBLE_RIGHT, m_conf.get(name(), "double-click-right", ""s)));
// clang-format on
const auto pid_token = [](const string& s) {
return string_util::replace_all(s, "%pid%", to_string(getpid()));
};
const auto pid_token = [](const string& s) { return string_util::replace_all(s, "%pid%", to_string(getpid())); };
for (auto& action : m_actions) {
action.second = pid_token(action.second);