mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2025-09-08 12:21:17 +00:00
Remove stray field
This commit is contained in:
@@ -129,7 +129,6 @@ class YAML_CPP_API Node {
|
||||
bool m_isValid;
|
||||
mutable detail::shared_memory_holder m_pMemory;
|
||||
mutable detail::node* m_pNode;
|
||||
mutable const detail::node* m_pConstNode;
|
||||
};
|
||||
|
||||
YAML_CPP_API bool operator==(const Node& lhs, const Node& rhs);
|
||||
|
@@ -26,11 +26,11 @@ class NullEventHandler : public YAML::EventHandler {
|
||||
};
|
||||
|
||||
int main() {
|
||||
const YAML::Node node;
|
||||
YAML::Node root;
|
||||
|
||||
std::string key = "doesnotexist";
|
||||
for (;;) {
|
||||
node[key];
|
||||
YAML::Node node;
|
||||
root = node;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user