aboutsummaryrefslogtreecommitdiff
path: root/CruUI/application.h
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2018-09-02 16:25:47 +0800
committercrupest <crupest@outlook.com>2018-09-02 16:25:47 +0800
commit09e480f0c956a16751a535558b84431ea47cd38f (patch)
treef98aa86d2b23970c7d03ea2463ea120d06838e17 /CruUI/application.h
parentf3d62dec00748a306af658b87bffc54e4949a4f4 (diff)
downloadcru-09e480f0c956a16751a535558b84431ea47cd38f.tar.gz
cru-09e480f0c956a16751a535558b84431ea47cd38f.tar.bz2
cru-09e480f0c956a16751a535558b84431ea47cd38f.zip
...
Diffstat (limited to 'CruUI/application.h')
-rw-r--r--CruUI/application.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/CruUI/application.h b/CruUI/application.h
index ee108cbc..daea7e06 100644
--- a/CruUI/application.h
+++ b/CruUI/application.h
@@ -70,6 +70,6 @@ namespace cru
};
- using InvokeLaterAction = std::function<void()>;
- void InvokeLater(const InvokeLaterAction& action);
+ using InvokeLaterAction = Action<>;
+ void InvokeLater(InvokeLaterAction&& action);
}