Fixes -Wmaybe-uninitialized warning

This commit is contained in:
Florian Eich 2018-06-20 08:34:01 +02:00
parent 4fb1c4b92b
commit ee766d333a

View File

@ -77,10 +77,11 @@ class YAML_CPP_API RegEx {
private: private:
REGEX_OP m_op; REGEX_OP m_op;
char m_a, m_z; char m_a{};
char m_z{};
std::vector<RegEx> m_params; std::vector<RegEx> m_params;
}; };
} } // namespace YAML
#include "regeximpl.h" #include "regeximpl.h"