Jelajahi Sumber

operator less for old compilers

Mike Samsonov 5 tahun lalu
induk
melakukan
536fea1c8d
1 mengubah file dengan 5 tambahan dan 0 penghapusan
  1. 5 0
      code/FBX/FBXDocument.h

+ 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:
     std::string type;
     std::string relativeFileName;