mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2025-09-10 04:51:17 +00:00
Removed the (unimplemented) operator <, and added operator == (in place of is()) for nodes
This commit is contained in:
@@ -233,17 +233,8 @@ namespace YAML
|
||||
}
|
||||
|
||||
// free functions
|
||||
inline int compare(const Node& lhs, const Node& rhs)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
inline bool operator<(const Node& lhs, const Node& rhs)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
inline bool is(const Node& lhs, const Node& rhs)
|
||||
|
||||
inline bool operator==(const Node& lhs, const Node& rhs)
|
||||
{
|
||||
return lhs.is(rhs);
|
||||
}
|
||||
|
Reference in New Issue
Block a user