diff options
author | Szczepan Zalega <szczepan@nitrokey.com> | 2018-03-01 11:26:10 +0100 |
---|---|---|
committer | Szczepan Zalega <szczepan@nitrokey.com> | 2018-03-01 11:26:10 +0100 |
commit | 01ed5b4302f21a3d77300c2e6f34344fec36d40c (patch) | |
tree | 6ccf40e199a2fece3678a0f49902e7d5adb5de0c | |
parent | 2b752acc507d60047576876c9ada4596442511b6 (diff) | |
download | libnitrokey-01ed5b4302f21a3d77300c2e6f34344fec36d40c.tar.gz libnitrokey-01ed5b4302f21a3d77300c2e6f34344fec36d40c.tar.bz2 |
Clean headers
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
-rw-r--r-- | include/log.h | 2 | ||||
-rw-r--r-- | 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 <string> -#include <cstddef> - #include <functional> namespace nitrokey { @@ -19,14 +19,12 @@ * SPDX-License-Identifier: LGPL-3.0 */ +#include "log.h" #include <iostream> -#include <string> #include <ctime> #include <iomanip> -#include "log.h" #include <sstream> -#include <NitrokeyManager.h> 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 { |