diff --git a/include/yaml-cpp/node/node.h b/include/yaml-cpp/node/node.h index b6cc1c0..e230e4a 100644 --- a/include/yaml-cpp/node/node.h +++ b/include/yaml-cpp/node/node.h @@ -24,8 +24,8 @@ namespace YAML template friend class detail::iterator_base; template friend struct as_if; - typedef iterator iterator; - typedef const_iterator const_iterator; + typedef YAML::iterator iterator; + typedef YAML::const_iterator const_iterator; Node(); explicit Node(NodeType::value type);