cmListFileContext: Implement LessThanComparable.

Move wrapping existing code from cmMakefile, and simplify the
implementation there.
This commit is contained in:
Stephen Kelly
2015-05-18 21:44:14 +02:00
parent 7eb0dfa062
commit e96b5d14f9
4 changed files with 11 additions and 23 deletions

View File

@@ -62,6 +62,7 @@ struct cmListFileContext
};
std::ostream& operator<<(std::ostream&, cmListFileContext const&);
bool operator<(const cmListFileContext& lhs, const cmListFileContext& rhs);
struct cmListFileFunction: public cmListFileContext
{