diff options
author | crupest <crupest@outlook.com> | 2018-11-05 20:54:48 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2018-11-05 20:54:48 +0800 |
commit | 1dab244aaad8694ba37ef43caedd8c8ba0310c00 (patch) | |
tree | f70f6489a0f88520a0bdc095cd9713d03f83687b /src/application.h | |
parent | 252519effe30881825dd02e26dc41bd9cde34782 (diff) | |
download | cru-1dab244aaad8694ba37ef43caedd8c8ba0310c00.tar.gz cru-1dab244aaad8694ba37ef43caedd8c8ba0310c00.tar.bz2 cru-1dab244aaad8694ba37ef43caedd8c8ba0310c00.zip |
...
Diffstat (limited to 'src/application.h')
-rw-r--r-- | src/application.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/application.h b/src/application.h index b371c8f9..530a781a 100644 --- a/src/application.h +++ b/src/application.h @@ -3,6 +3,7 @@ #include "system_headers.h" #include <memory> #include <optional> +#include <functional> #include "base.h" @@ -145,6 +146,5 @@ namespace cru }; - using InvokeLaterAction = Function<void()>; - void InvokeLater(InvokeLaterAction&& action); + void InvokeLater(const std::function<void()>& action); } |