operator less for old compilers
parent
55c2a3edb9
commit
536fea1c8d
|
@ -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:
|
private:
|
||||||
std::string type;
|
std::string type;
|
||||||
std::string relativeFileName;
|
std::string relativeFileName;
|
||||||
|
|
Loading…
Reference in New Issue