works with yaml 2.6

This commit is contained in:
Eduardo Bart
2011-05-13 23:21:25 -03:00
parent 3cea0cb7c6
commit 35fc76f0a6
6 changed files with 21 additions and 15 deletions

View File

@@ -68,7 +68,7 @@ inline void operator>>(const YAML::Node& node, TSize<T>& size)
template<class T>
inline T yamlRead(const YAML::Node& node)
{
return node.Read<T>();
return node.to<T>();
}
template<class T>