operator less for old compilers

pull/2741/head
Mike Samsonov 2019-11-01 14:50:30 +00:00
parent 55c2a3edb9
commit 536fea1c8d
1 changed files with 5 additions and 0 deletions

View File

@ -646,6 +646,11 @@ public:
);
}
bool operator<(const Video& other) const
{
return std::tie(type, relativeFileName, fileName) < std::tie(other.type, other.relativeFileName, other.fileName);
}
private:
std::string type;
std::string relativeFileName;