mu: ensure some struct members are initialized

This commit is contained in:
Dirk-Jan C. Binnema 2020-03-31 21:11:42 +03:00
parent 9ef1a3c0cf
commit a4fded5edd
2 changed files with 3 additions and 3 deletions

View File

@ -39,8 +39,8 @@ namespace Mu {
*
*/
struct Warning {
size_t pos; /**< pos in string */
const std::string msg; /**< warning message */
size_t pos{}; /**< pos in string */
const std::string msg; /**< warning message */
/**
* operator==

View File

@ -30,7 +30,7 @@ using namespace Mu;
struct Case {
const std::string expr;
bool is_first;
bool is_first{};
const std::string expected;
};
using CaseVec = std::vector<Case>;