From f504cf4e9241de7a5f6eadad10baa7d44c3c1c15 Mon Sep 17 00:00:00 2001 From: Ralf Ramsauer Date: Fri, 2 Oct 2015 16:40:12 +0200 Subject: [PATCH] common code style --- doorlockd/lib/clientmessage.h | 1 - doorlockd/lib/doormessage.h | 3 ++- doorlockd/lib/logger.h | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doorlockd/lib/clientmessage.h b/doorlockd/lib/clientmessage.h index 8cccb32..3bc88ff 100644 --- a/doorlockd/lib/clientmessage.h +++ b/doorlockd/lib/clientmessage.h @@ -8,7 +8,6 @@ class Clientmessage { - public: Clientmessage(std::string token, diff --git a/doorlockd/lib/doormessage.h b/doorlockd/lib/doormessage.h index 824cdcd..2231c7a 100644 --- a/doorlockd/lib/doormessage.h +++ b/doorlockd/lib/doormessage.h @@ -1,7 +1,8 @@ #ifndef DOORMESSAGE_H #define DOORMESSAGE_H -struct Doormessage { +struct Doormessage +{ bool isOpen = { false }; bool isUnlockButton = { false }; bool isLockButton = { false }; diff --git a/doorlockd/lib/logger.h b/doorlockd/lib/logger.h index fe560fa..95febf5 100644 --- a/doorlockd/lib/logger.h +++ b/doorlockd/lib/logger.h @@ -26,8 +26,8 @@ enum class LogLevel : unsigned char * The logger class is a thread-safe class which is used for formatting and forwarding * log messages. */ -class Logger final { - +class Logger final +{ public: static Logger &get();