Eliminate some reorder and sign warnings

This commit is contained in:
Dávid Major
2017-09-21 17:48:42 +02:00
committed by Felipe Zimmerle
parent 4909713991
commit 495b47d8a2
4 changed files with 29 additions and 29 deletions

View File

@@ -39,21 +39,21 @@ namespace actions {
class Action {
public:
explicit Action(const std::string& _action)
: action_kind(2),
m_isNone(false),
: m_isNone(false),
temporaryAction(false),
action_kind(2),
m_name(""),
m_referenceCount(1),
m_parser_payload(""),
temporaryAction(false) {
m_referenceCount(1) {
set_name_and_payload(_action);
}
explicit Action(const std::string& _action, int kind)
: action_kind(kind),
m_isNone(false),
: m_isNone(false),
temporaryAction(false),
action_kind(kind),
m_name(""),
m_referenceCount(1),
m_parser_payload(""),
temporaryAction(false) {
m_referenceCount(1) {
set_name_and_payload(_action);
}