fixed clang-tidy errors

fixed clang compilation error and few clang-tidy issues

Tested:
- Code compiles, all unit tests are passing
- Number of reported clang-tidy issues decreased

Change-Id: Ie3f88db6e2dffb26ec6c56dbdc1ce5bad288dccd
Signed-off-by: Krzysztof Grobelny <krzysztof.grobelny@intel.com>
diff --git a/src/trigger_actions.hpp b/src/trigger_actions.hpp
index 2871256..6a5f7c2 100644
--- a/src/trigger_actions.hpp
+++ b/src/trigger_actions.hpp
@@ -53,7 +53,7 @@
 class LogToJournal : public interfaces::TriggerAction
 {
   public:
-    LogToJournal(::discrete::Severity severity) : severity(severity)
+    explicit LogToJournal(::discrete::Severity severity) : severity(severity)
     {}
 
     void commit(const std::string& id, Milliseconds timestamp,
@@ -68,7 +68,7 @@
 class LogToRedfish : public interfaces::TriggerAction
 {
   public:
-    LogToRedfish(::discrete::Severity severity) : severity(severity)
+    explicit LogToRedfish(::discrete::Severity severity) : severity(severity)
     {}
 
     void commit(const std::string& id, Milliseconds timestamp,