aboutsummaryrefslogtreecommitdiff
path: root/demos/input_method/main.cpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-06-22 01:09:24 +0800
committercrupest <crupest@outlook.com>2020-06-22 01:09:24 +0800
commit4f0a2f32c273780c32cc3937615c2a8bbd993aab (patch)
tree6e1f45447854a40fe2d16ef9bec79f3c0fef030a /demos/input_method/main.cpp
parentd86a71f79afe0e4dac768f61d6bff690567aca5b (diff)
downloadcru-4f0a2f32c273780c32cc3937615c2a8bbd993aab.tar.gz
cru-4f0a2f32c273780c32cc3937615c2a8bbd993aab.tar.bz2
cru-4f0a2f32c273780c32cc3937615c2a8bbd993aab.zip
...
Diffstat (limited to 'demos/input_method/main.cpp')
-rw-r--r--demos/input_method/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/input_method/main.cpp b/demos/input_method/main.cpp
index 45924c96..b109f5e7 100644
--- a/demos/input_method/main.cpp
+++ b/demos/input_method/main.cpp
@@ -135,7 +135,7 @@ int main() {
});
input_method_context->CompositionEndEvent()->AddHandler(
- [window, &input_method_context, &optional_composition_text](auto) {
+ [window, &optional_composition_text](auto) {
optional_composition_text = std::nullopt;
window->RequestRepaint();
});