2
0
Эх сурвалжийг харах

operator less for old compilers

Mike Samsonov 5 жил өмнө
parent
commit
536fea1c8d

+ 5 - 0
code/FBX/FBXDocument.h

@@ -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;