summaryrefslogtreecommitdiff
path: root/log.cc
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2018-03-01 11:26:10 +0100
committerSzczepan Zalega <szczepan@nitrokey.com>2018-03-01 11:26:10 +0100
commit01ed5b4302f21a3d77300c2e6f34344fec36d40c (patch)
tree6ccf40e199a2fece3678a0f49902e7d5adb5de0c /log.cc
parent2b752acc507d60047576876c9ada4596442511b6 (diff)
downloadlibnitrokey-01ed5b4302f21a3d77300c2e6f34344fec36d40c.tar.gz
libnitrokey-01ed5b4302f21a3d77300c2e6f34344fec36d40c.tar.bz2
Clean headers
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'log.cc')
-rw-r--r--log.cc6
1 files changed, 2 insertions, 4 deletions
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 <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 {