refactor(clang-tidy): Apply fixes

This commit is contained in:
Michael Carlberg
2016-12-15 03:30:41 +01:00
parent 78b5f9651f
commit f9062d031c
42 changed files with 123 additions and 111 deletions

View File

@ -11,7 +11,7 @@
POLYBAR_NS
namespace command_util {
command::command(const logger& logger, string cmd) : m_log(logger), m_cmd(cmd) {
command::command(const logger& logger, string cmd) : m_log(logger), m_cmd(move(cmd)) {
if (pipe(m_stdin) != 0) {
throw command_strerror("Failed to allocate input stream");
}