From: WAAutoMaton Date: Sun, 21 Apr 2019 00:43:02 +0000 (+0800) Subject: fix: https://github.com/OI-wiki/gitment/issues/280#issuecomment-480808211 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=1619fe52a466532fa4663caac7e1ea839ac848f4;p=oi-wiki%2Fmain.git fix: https://github.com/OI-wiki/gitment/issues/280#issuecomment-480808211 --- diff --git a/docs/ds/odt.md b/docs/ds/odt.md index dd501585..0672cc89 100644 --- a/docs/ds/odt.md +++ b/docs/ds/odt.md @@ -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; } }; ```