mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2025-09-09 04:41:16 +00:00
Fix -Wmaybe-uninitialized warning (#600)
This commit is contained in:

committed by
Jesse Beder

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"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user