Fix -Wmaybe-uninitialized warning (#600)
This commit is contained in:
parent
ee99c4151c
commit
ca77ef716e
@ -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"
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user