Skip to content

Commit

Permalink
Update MessageType.h
Browse files Browse the repository at this point in the history
  • Loading branch information
peterus authored Sep 13, 2024
1 parent ebaef86 commit 1d3ef87
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/MessageType.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ class MessageType {
Error,
};

MessageType() : _value(Error) {
}

// cppcheck-suppress noExplicitConstructor
MessageType(char type) {
switch (type) {
case '=':
Expand Down

0 comments on commit 1d3ef87

Please sign in to comment.