refactor: Cleanup

This commit is contained in:
Michael Carlberg 2016-12-09 12:43:31 +01:00
parent bff119834a
commit 83f7d2ce91
7 changed files with 17 additions and 18 deletions
src/components

View file

@ -32,7 +32,7 @@ controller::make_type controller::make(string&& path_confwatch, bool enable_ipc,
eventloop::make(),
bar::make(),
enable_ipc ? ipc::make() : ipc::make_type{},
!path_confwatch.empty() ? inotify_util::make_watch(path_confwatch) : watch_t{},
!path_confwatch.empty() ? inotify_util::make_watch(forward<decltype(path_confwatch)>(path_confwatch)) : watch_t{},
writeback);
// clang-format on
}