浏览代码

operator less for old compilers

Mike Samsonov 5 年之前
父节点
当前提交
536fea1c8d
共有 1 个文件被更改,包括 5 次插入0 次删除
  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;