fixed type of Message::Flags

This commit is contained in:
fourtf 2018-01-06 00:02:04 +01:00
parent a4656f3ab5
commit 99f2d0dd27

View file

@ -14,12 +14,12 @@ namespace messages {
class Message; class Message;
typedef std::shared_ptr<Message> SharedMessage; typedef std::shared_ptr<Message> SharedMessage;
typedef uint32_t MessageFlagsType; typedef char MessageFlagsType;
class Message class Message
{ {
public: public:
enum MessageFlags : uint32_t { enum MessageFlags : MessageFlagsType {
None = 0, None = 0,
System = (1 << 1), System = (1 << 1),
Timeout = (1 << 2), Timeout = (1 << 2),