From 01ed5b4302f21a3d77300c2e6f34344fec36d40c Mon Sep 17 00:00:00 2001 From: Szczepan Zalega Date: Thu, 1 Mar 2018 11:26:10 +0100 Subject: Clean headers Signed-off-by: Szczepan Zalega --- include/log.h | 2 -- log.cc | 6 ++---- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/include/log.h b/include/log.h index b969b81..2a64bef 100644 --- a/include/log.h +++ b/include/log.h @@ -23,8 +23,6 @@ #define LOG_H #include -#include - #include namespace nitrokey { diff --git a/log.cc b/log.cc index e66feb0..06acee7 100644 --- a/log.cc +++ b/log.cc @@ -19,14 +19,12 @@ * SPDX-License-Identifier: LGPL-3.0 */ +#include "log.h" #include -#include #include #include -#include "log.h" #include -#include namespace nitrokey { namespace log { @@ -61,7 +59,7 @@ namespace nitrokey { } } - void Log::setPrefix(const string prefix) { + void Log::setPrefix(const std::string prefix) { if (!prefix.empty()){ Log::prefix = "["+prefix+"]"; } else { -- cgit v1.2.3