Linux 0.5.1 version complains of returning a temporary reference in a method
that does this:
const YAML::Node* f( const std::string& key, const YAML::Node& node )
{
return &node[key];
}
Since the node is passed by reference, I would expect an index into that to
return a reference and not a copy ( i.e. const Node& operator[] signature).
Original issue reported on code.google.com by rls...@gmail.com on 25 Jul 2013 at 9:16
Original issue reported on code.google.com by
rls...@gmail.com
on 25 Jul 2013 at 9:16