explicit initialization of flags

This commit is contained in:
Tushar Maheshwari 2016-11-27 07:40:03 +05:30
parent d2400033ed
commit bc9c0ec1ae
2 changed files with 2 additions and 2 deletions

View File

@ -219,7 +219,7 @@ public:
private:
enum { DEFAULT, FLAGS } tag{DEFAULT};
unsigned int flags;
unsigned int flags{};
};

View File

@ -370,7 +370,7 @@ public:
private:
enum { DEFAULT, FLAGS } tag{DEFAULT};
unsigned int flags;
unsigned int flags{};
};