From 6796209c9f7c4624465231f880e22bbbccd5e64d Mon Sep 17 00:00:00 2001 From: badaix Date: Tue, 29 Dec 2015 13:31:19 +0100 Subject: [PATCH] clean ups --- client/player/player.h | 1 - common/log.cpp | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/client/player/player.h b/client/player/player.h index ae9d65bd..fa1dae79 100644 --- a/client/player/player.h +++ b/client/player/player.h @@ -23,7 +23,6 @@ #include #include #include -#include #include "../stream.h" #include "pcmDevice.h" diff --git a/common/log.cpp b/common/log.cpp index 0848f0b8..97f3e204 100644 --- a/common/log.cpp +++ b/common/log.cpp @@ -58,7 +58,7 @@ int Log::sync() std::cout << Timestamp() << " [err] " << buffer_.str() << std::flush; else { - std::cout << Timestamp() << " [" << std::to_string(priority_) << "] " << buffer_.str() << std::flush; + std::cout << Timestamp() << " [" << priority_ << "] " << buffer_.str() << std::flush; syslog(priority_, "%s", buffer_.str().c_str()); } buffer_.str("");