OSDN Git Service

fix: https://github.com/OI-wiki/gitment/issues/280#issuecomment-480808211
authorWAAutoMaton <a547673135@gmail.com>
Sun, 21 Apr 2019 00:43:02 +0000 (08:43 +0800)
committerWAAutoMaton <a547673135@gmail.com>
Sun, 21 Apr 2019 00:43:02 +0000 (08:43 +0800)
docs/ds/odt.md

index dd50158..0672cc8 100644 (file)
@@ -29,7 +29,7 @@ struct Node_t {
   int l, r;
   mutable int v;
   Node_t(const int &il, const int &ir, const int &iv) : l(il), r(ir), v(iv) {}
-  inline bool operator(const Node_t &o) const { return l < o.l; }
+  inline bool operator<(const Node_t &o) const { return l < o.l; }
 };
 ```