mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
CtrlLib: Fixed backward compatibility of ArrayCtrl::Column::Sorting
git-svn-id: svn://ultimatepp.org/upp/trunk@11414 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
16bc9883f6
commit
f05fc4bdc3
1 changed files with 1 additions and 0 deletions
|
|
@ -125,6 +125,7 @@ public:
|
|||
Column& Ctrls(Event<int, One<Ctrl>&> factory);
|
||||
Column& Ctrls(void (*factory)(int, One<Ctrl>&)) { return Ctrls(Event<int, One<Ctrl>&>([=](int a, One<Ctrl>& b){ factory(a, b); })); }
|
||||
Column& Sorting(Gate<int, int> order) { return SortingLined(order); }
|
||||
Column& Sorting(int (*c)(const Value& a, const Value& b)) { return SortingBy(c); }
|
||||
};
|
||||
|
||||
struct Order {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue